1[package] 2name = "spki" 3version = "0.6.0" 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.57" 16 17[dependencies] 18der = { version = "0.6", features = ["oid"], path = "../der" } 19 20# Optional dependencies 21sha2 = { version = "0.10", optional = true, default-features = false } 22base64ct = { version = "1", path = "../base64ct", optional = true, default-features = false } 23 24[dev-dependencies] 25hex-literal = "0.3" 26tempfile = "3" 27 28[features] 29alloc = ["base64ct?/alloc", "der/alloc"] 30fingerprint = ["sha2"] 31pem = ["alloc", "der/pem"] 32std = ["der/std", "alloc"] 33 34[package.metadata.docs.rs] 35all-features = true 36rustdoc-args = ["--cfg", "docsrs"] 37