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 = "spki" 16version = "0.7.3" 17authors = ["RustCrypto Developers"] 18description = """ 19X.509 Subject Public Key Info (RFC5280) describing public keys as well as their 20associated AlgorithmIdentifiers (i.e. OIDs) 21""" 22readme = "README.md" 23keywords = [ 24 "crypto", 25 "x509", 26] 27categories = [ 28 "cryptography", 29 "data-structures", 30 "encoding", 31 "no-std", 32] 33license = "Apache-2.0 OR MIT" 34repository = "https://github.com/RustCrypto/formats/tree/master/spki" 35 36[package.metadata.docs.rs] 37all-features = true 38rustdoc-args = [ 39 "--cfg", 40 "docsrs", 41] 42 43[dependencies.arbitrary] 44version = "1.2" 45features = ["derive"] 46optional = true 47 48[dependencies.base64ct] 49version = "1" 50optional = true 51default-features = false 52 53[dependencies.der] 54version = "0.7.2" 55features = ["oid"] 56 57[dependencies.sha2] 58version = "0.10" 59optional = true 60default-features = false 61 62[dev-dependencies.hex-literal] 63version = "0.4" 64 65[dev-dependencies.tempfile] 66version = "3" 67 68[features] 69alloc = [ 70 "base64ct?/alloc", 71 "der/alloc", 72] 73arbitrary = [ 74 "std", 75 "dep:arbitrary", 76 "der/arbitrary", 77] 78base64 = ["dep:base64ct"] 79fingerprint = ["sha2"] 80pem = [ 81 "alloc", 82 "der/pem", 83] 84std = [ 85 "der/std", 86 "alloc", 87] 88