pkcs5 0.5.0

Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #5: Password-Based Cryptography Specification Version 2.1 (RFC 8018)
Documentation
[package]
name = "pkcs5"
version = "0.5.0" # Also update html_root_url in lib.rs when bumping this
description = """
Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #5:
Password-Based Cryptography Specification Version 2.1 (RFC 8018)
"""
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/formats/tree/master/pkcs5"
categories = ["cryptography", "data-structures", "encoding", "no-std"]
keywords = ["crypto", "key", "pkcs", "password"]
readme = "README.md"
edition = "2021"
rust-version = "1.57"

[dependencies]
der = { version = "0.6", features = ["oid"], path = "../der" }
spki = { version = "0.6", path = "../spki" }

# optional dependencies
cbc = { version = "0.1.2", optional = true }
aes = { version = "0.8.1", optional = true, default-features = false }
des = { version = "0.8.1", optional = true, default-features = false }
hmac = { version = "0.12.1", optional = true, default-features = false }
pbkdf2 = { version = "0.11", optional = true, default-features = false }
scrypt = { version = "0.10", optional = true, default-features = false }
sha1 = { version = "0.10.1", optional = true, default-features = false }
sha2 = { version = "0.10.2", optional = true, default-features = false }

[dev-dependencies]
hex-literal = "0.3"

[features]
alloc = []
3des = ["pbes2", "des"]
des-insecure = ["pbes2", "des"]
pbes2 = ["aes", "cbc", "hmac", "pbkdf2", "scrypt", "sha2"]
sha1-insecure = ["pbes2", "sha1"]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]