# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.72" name = "pkcs8" version = "0.11.0-rc.1" authors = ["RustCrypto Developers"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #8: Private-Key Information Syntax Specification (RFC 5208), with additional support for PKCS#8v2 asymmetric key packages (RFC 5958) """ homepage = "https://github.com/RustCrypto/formats/tree/master/pkcs8" readme = "README.md" keywords = [ "crypto", "key", "pkcs", "private", ] categories = [ "cryptography", "data-structures", "encoding", "no-std", "parser-implementations", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/RustCrypto/formats" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "pkcs8" path = "src/lib.rs" [[test]] name = "encrypted_private_key" path = "tests/encrypted_private_key.rs" [[test]] name = "private_key" path = "tests/private_key.rs" [[test]] name = "traits" path = "tests/traits.rs" [dependencies.der] version = "0.8.0-rc.0" features = ["oid"] [dependencies.pkcs5] version = "0.8.0-rc.0" features = ["rand_core"] optional = true [dependencies.rand_core] version = "0.6" optional = true default-features = false [dependencies.spki] version = "0.8.0-rc.0" [dependencies.subtle] version = "2" optional = true default-features = false [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.tempfile] version = "3" [features] 3des = [ "encryption", "pkcs5/3des", ] alloc = [ "der/alloc", "der/zeroize", "spki/alloc", ] des-insecure = [ "encryption", "pkcs5/des-insecure", ] encryption = [ "alloc", "pkcs5/alloc", "pkcs5/pbes2", "rand_core", ] getrandom = ["rand_core/getrandom"] pem = [ "alloc", "der/pem", "spki/pem", ] sha1-insecure = [ "encryption", "pkcs5/sha1-insecure", ] std = [ "alloc", "der/std", "spki/std", ]