]>
Commit | Line | Data |
---|---|---|
0a29b90c FG |
1 | # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
2 | # | |
3 | # When uploading crates to the registry Cargo will automatically | |
4 | # "normalize" Cargo.toml files for maximal compatibility | |
5 | # with all versions of Cargo and also rewrite `path` dependencies | |
6 | # to registry (e.g., crates.io) dependencies. | |
7 | # | |
8 | # If you are reading this file be aware that the original Cargo.toml | |
9 | # will likely look very different (and much more reasonable). | |
10 | # See Cargo.toml.orig for the original contents. | |
11 | ||
12 | [package] | |
13 | edition = "2021" | |
49aad941 | 14 | rust-version = "1.65" |
0a29b90c | 15 | name = "sec1" |
4b012472 | 16 | version = "0.7.3" |
0a29b90c FG |
17 | authors = ["RustCrypto Developers"] |
18 | description = """ | |
19 | Pure Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats | |
20 | including ASN.1 DER-serialized private keys as well as the | |
21 | Elliptic-Curve-Point-to-Octet-String encoding | |
22 | """ | |
23 | readme = "README.md" | |
24 | keywords = [ | |
25 | "crypto", | |
26 | "key", | |
27 | "elliptic-curve", | |
28 | "secg", | |
29 | ] | |
30 | categories = [ | |
31 | "cryptography", | |
32 | "data-structures", | |
33 | "encoding", | |
34 | "no-std", | |
35 | "parser-implementations", | |
36 | ] | |
37 | license = "Apache-2.0 OR MIT" | |
38 | repository = "https://github.com/RustCrypto/formats/tree/master/sec1" | |
0a29b90c FG |
39 | |
40 | [package.metadata.docs.rs] | |
41 | all-features = true | |
42 | rustdoc-args = [ | |
43 | "--cfg", | |
44 | "docsrs", | |
45 | ] | |
46 | ||
47 | [dependencies.base16ct] | |
49aad941 | 48 | version = "0.2" |
0a29b90c FG |
49 | optional = true |
50 | default-features = false | |
51 | ||
52 | [dependencies.der] | |
49aad941 | 53 | version = "0.7" |
0a29b90c FG |
54 | features = ["oid"] |
55 | optional = true | |
56 | ||
57 | [dependencies.generic-array] | |
49aad941 | 58 | version = "0.14.7" |
0a29b90c FG |
59 | optional = true |
60 | default-features = false | |
61 | ||
62 | [dependencies.pkcs8] | |
49aad941 | 63 | version = "0.10" |
0a29b90c FG |
64 | optional = true |
65 | default-features = false | |
66 | ||
67 | [dependencies.serdect] | |
49aad941 | 68 | version = "0.2" |
0a29b90c FG |
69 | features = ["alloc"] |
70 | optional = true | |
71 | default-features = false | |
72 | ||
73 | [dependencies.subtle] | |
74 | version = "2" | |
75 | optional = true | |
76 | default-features = false | |
77 | ||
78 | [dependencies.zeroize] | |
79 | version = "1" | |
80 | optional = true | |
81 | default-features = false | |
82 | ||
83 | [dev-dependencies.hex-literal] | |
4b012472 | 84 | version = "0.4" |
0a29b90c FG |
85 | |
86 | [dev-dependencies.tempfile] | |
87 | version = "3" | |
88 | ||
89 | [features] | |
90 | alloc = [ | |
49aad941 FG |
91 | "der?/alloc", |
92 | "pkcs8?/alloc", | |
93 | "zeroize?/alloc", | |
0a29b90c FG |
94 | ] |
95 | default = [ | |
96 | "der", | |
97 | "point", | |
98 | ] | |
49aad941 FG |
99 | der = [ |
100 | "dep:der", | |
101 | "zeroize", | |
102 | ] | |
0a29b90c FG |
103 | pem = [ |
104 | "alloc", | |
105 | "der/pem", | |
106 | "pkcs8/pem", | |
107 | ] | |
108 | point = [ | |
49aad941 FG |
109 | "dep:base16ct", |
110 | "dep:generic-array", | |
0a29b90c | 111 | ] |
49aad941 | 112 | serde = ["dep:serdect"] |
0a29b90c | 113 | std = [ |
0a29b90c | 114 | "alloc", |
49aad941 FG |
115 | "der?/std", |
116 | ] | |
117 | zeroize = [ | |
118 | "dep:zeroize", | |
119 | "der?/zeroize", | |
0a29b90c | 120 | ] |