]> git.proxmox.com Git - rustc.git/blame - vendor/sec1/Cargo.toml
New upstream version 1.76.0+dfsg1
[rustc.git] / vendor / sec1 / Cargo.toml
CommitLineData
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]
13edition = "2021"
49aad941 14rust-version = "1.65"
0a29b90c 15name = "sec1"
4b012472 16version = "0.7.3"
0a29b90c
FG
17authors = ["RustCrypto Developers"]
18description = """
19Pure Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats
20including ASN.1 DER-serialized private keys as well as the
21Elliptic-Curve-Point-to-Octet-String encoding
22"""
23readme = "README.md"
24keywords = [
25 "crypto",
26 "key",
27 "elliptic-curve",
28 "secg",
29]
30categories = [
31 "cryptography",
32 "data-structures",
33 "encoding",
34 "no-std",
35 "parser-implementations",
36]
37license = "Apache-2.0 OR MIT"
38repository = "https://github.com/RustCrypto/formats/tree/master/sec1"
0a29b90c
FG
39
40[package.metadata.docs.rs]
41all-features = true
42rustdoc-args = [
43 "--cfg",
44 "docsrs",
45]
46
47[dependencies.base16ct]
49aad941 48version = "0.2"
0a29b90c
FG
49optional = true
50default-features = false
51
52[dependencies.der]
49aad941 53version = "0.7"
0a29b90c
FG
54features = ["oid"]
55optional = true
56
57[dependencies.generic-array]
49aad941 58version = "0.14.7"
0a29b90c
FG
59optional = true
60default-features = false
61
62[dependencies.pkcs8]
49aad941 63version = "0.10"
0a29b90c
FG
64optional = true
65default-features = false
66
67[dependencies.serdect]
49aad941 68version = "0.2"
0a29b90c
FG
69features = ["alloc"]
70optional = true
71default-features = false
72
73[dependencies.subtle]
74version = "2"
75optional = true
76default-features = false
77
78[dependencies.zeroize]
79version = "1"
80optional = true
81default-features = false
82
83[dev-dependencies.hex-literal]
4b012472 84version = "0.4"
0a29b90c
FG
85
86[dev-dependencies.tempfile]
87version = "3"
88
89[features]
90alloc = [
49aad941
FG
91 "der?/alloc",
92 "pkcs8?/alloc",
93 "zeroize?/alloc",
0a29b90c
FG
94]
95default = [
96 "der",
97 "point",
98]
49aad941
FG
99der = [
100 "dep:der",
101 "zeroize",
102]
0a29b90c
FG
103pem = [
104 "alloc",
105 "der/pem",
106 "pkcs8/pem",
107]
108point = [
49aad941
FG
109 "dep:base16ct",
110 "dep:generic-array",
0a29b90c 111]
49aad941 112serde = ["dep:serdect"]
0a29b90c 113std = [
0a29b90c 114 "alloc",
49aad941
FG
115 "der?/std",
116]
117zeroize = [
118 "dep:zeroize",
119 "der?/zeroize",
0a29b90c 120]