• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "x509-cert"
3version = "0.2.4"
4description = """
5Pure Rust implementation of the X.509 Public Key Infrastructure Certificate
6format as described in RFC 5280
7"""
8authors = ["RustCrypto Developers"]
9license = "Apache-2.0 OR MIT"
10repository = "https://github.com/RustCrypto/formats/tree/master/x509-cert"
11categories = ["cryptography", "data-structures", "encoding", "no-std"]
12keywords = ["crypto"]
13readme = "README.md"
14edition = "2021"
15rust-version = "1.65"
16
17[dependencies]
18const-oid = { version = "0.9.3", features = ["db"] }
19der = { version = "0.7.6", features = ["alloc", "derive", "flagset", "oid"] }
20spki = { version = "0.7.2", features = ["alloc"] }
21
22# optional dependencies
23arbitrary = { version = "1.3", features = ["derive"], optional = true }
24sha1 = { version = "0.10.0", optional = true }
25signature = { version = "2.1.0", features = ["rand_core"], optional = true }
26
27[dev-dependencies]
28hex-literal = "0.4"
29rand = "0.8.5"
30rsa = { version = "0.9.2", features = ["sha2"] }
31ecdsa = { version = "0.16.7", features = ["digest", "pem"] }
32p256 = "0.13.0"
33rstest = "0.17"
34sha2 = { version = "0.10", features = ["oid"] }
35tempfile = "3.5.0"
36x509-cert-test-support = { path = "./test-support" }
37
38[features]
39default = ["pem", "std"]
40std = ["const-oid/std", "der/std", "spki/std"]
41
42arbitrary = ["dep:arbitrary", "std", "der/arbitrary", "spki/arbitrary"]
43builder = ["std", "sha1/default", "signature"]
44hazmat = []
45pem = ["der/pem", "spki/pem"]
46
47[package.metadata.docs.rs]
48all-features = true
49rustdoc-args = ["--cfg", "docsrs"]
50