# 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.65" name = "pkcs5" version = "0.7.1" authors = ["RustCrypto Developers"] description = """ Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #5: Password-Based Cryptography Specification Version 2.1 (RFC 8018) """ readme = "README.md" keywords = [ "crypto", "key", "pkcs", "password", ] categories = [ "cryptography", "data-structures", "encoding", "no-std", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/RustCrypto/formats/tree/master/pkcs5" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.aes] version = "0.8.2" optional = true default-features = false [dependencies.cbc] version = "0.1.2" optional = true [dependencies.der] version = "0.7" features = ["oid"] [dependencies.des] version = "0.8.1" optional = true default-features = false [dependencies.pbkdf2] version = "0.12.1" optional = true default-features = false [dependencies.scrypt] version = "0.11" optional = true default-features = false [dependencies.sha1] version = "0.10.1" optional = true default-features = false [dependencies.sha2] version = "0.10.2" optional = true default-features = false [dependencies.spki] version = "0.7" [dev-dependencies.hex-literal] version = "0.3" [features] 3des = [ "dep:des", "pbes2", ] alloc = [] des-insecure = [ "dep:des", "pbes2", ] pbes2 = [ "dep:aes", "dep:cbc", "dep:pbkdf2", "dep:scrypt", "dep:sha2", ] sha1-insecure = [ "dep:sha1", "pbes2", ]