• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "spki"
3version = "0.7.3"
4description = """
5X.509 Subject Public Key Info (RFC5280) describing public keys as well as their
6associated AlgorithmIdentifiers (i.e. OIDs)
7"""
8authors = ["RustCrypto Developers"]
9license = "Apache-2.0 OR MIT"
10repository = "https://github.com/RustCrypto/formats/tree/master/spki"
11categories = ["cryptography", "data-structures", "encoding", "no-std"]
12keywords = ["crypto", "x509"]
13readme = "README.md"
14edition = "2021"
15rust-version = "1.65"
16
17[dependencies]
18der = { version = "0.7.2", features = ["oid"] }
19
20# Optional dependencies
21arbitrary = { version = "1.2", features = ["derive"], optional = true }
22base64ct = { version = "1", optional = true, default-features = false }
23sha2 = { version = "0.10", optional = true, default-features = false }
24
25[dev-dependencies]
26hex-literal = "0.4"
27tempfile = "3"
28
29[features]
30alloc = ["base64ct?/alloc", "der/alloc"]
31std = ["der/std", "alloc"]
32
33arbitrary = ["std", "dep:arbitrary", "der/arbitrary"]
34base64 = ["dep:base64ct"]
35fingerprint = ["sha2"]
36pem = ["alloc", "der/pem"]
37
38[package.metadata.docs.rs]
39all-features = true
40rustdoc-args = ["--cfg", "docsrs"]
41