• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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"
14rust-version = "1.65"
15name = "x509-cert"
16version = "0.2.5"
17authors = ["RustCrypto Developers"]
18description = """
19Pure Rust implementation of the X.509 Public Key Infrastructure Certificate
20format as described in RFC 5280
21"""
22readme = "README.md"
23keywords = ["crypto"]
24categories = [
25    "cryptography",
26    "data-structures",
27    "encoding",
28    "no-std",
29]
30license = "Apache-2.0 OR MIT"
31repository = "https://github.com/RustCrypto/formats/tree/master/x509-cert"
32
33[package.metadata.docs.rs]
34all-features = true
35rustdoc-args = [
36    "--cfg",
37    "docsrs",
38]
39
40[dependencies.arbitrary]
41version = "1.3"
42features = ["derive"]
43optional = true
44
45[dependencies.const-oid]
46version = "0.9.3"
47features = ["db"]
48
49[dependencies.der]
50version = "0.7.6"
51features = [
52    "alloc",
53    "derive",
54    "flagset",
55    "oid",
56]
57
58[dependencies.sha1]
59version = "0.10.6"
60optional = true
61
62[dependencies.signature]
63version = "2.1.0"
64features = ["rand_core"]
65optional = true
66
67[dependencies.spki]
68version = "0.7.3"
69features = ["alloc"]
70
71[dependencies.tls_codec]
72version = "0.4.0"
73features = ["derive"]
74optional = true
75default-features = false
76
77[dev-dependencies.ecdsa]
78version = "0.16.8"
79features = [
80    "digest",
81    "pem",
82]
83
84[dev-dependencies.hex-literal]
85version = "0.4"
86
87[dev-dependencies.p256]
88version = "0.13.0"
89
90[dev-dependencies.rand]
91version = "0.8.5"
92
93[dev-dependencies.rsa]
94version = "0.9.6"
95features = ["sha2"]
96
97[dev-dependencies.rstest]
98version = "0.18"
99
100[dev-dependencies.sha2]
101version = "0.10"
102features = ["oid"]
103
104[dev-dependencies.tempfile]
105version = "3.5.0"
106
107[features]
108arbitrary = [
109    "dep:arbitrary",
110    "std",
111    "der/arbitrary",
112    "spki/arbitrary",
113]
114builder = [
115    "std",
116    "sha1/default",
117    "signature",
118]
119default = [
120    "pem",
121    "std",
122]
123hazmat = []
124pem = [
125    "der/pem",
126    "spki/pem",
127]
128sct = ["dep:tls_codec"]
129std = [
130    "const-oid/std",
131    "der/std",
132    "spki/std",
133    "tls_codec?/std",
134]
135