pkcs8 0.7.6

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)
Documentation
[package]
name = "pkcs8"
version = "0.7.6" # Also update html_root_url in lib.rs when bumping this
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)
"""
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
edition = "2018"
repository = "https://github.com/RustCrypto/formats/tree/master/pkcs8"
categories = ["cryptography", "data-structures", "encoding", "no-std", "parser-implementations"]
keywords = ["crypto", "key", "pkcs", "private"]
readme = "README.md"

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

# optional dependencies
rand_core = { version = "0.6", optional = true, default-features = false }
pkcs1 = { version = "0.2", optional = true, features = ["alloc"], path = "../pkcs1" }
pkcs5 = { version = "0.3", optional = true, path = "../pkcs5" }
pem-rfc7468 = { version = "0.2", optional = true, path = "../pem-rfc7468" }
zeroize = { version = "1", optional = true, default-features = false, features = ["alloc"] }

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

[features]
alloc = ["der/alloc", "zeroize"]
3des = ["encryption", "pkcs5/3des"]
des-insecure = ["encryption", "pkcs5/des-insecure"]
encryption = ["alloc", "pkcs5/alloc", "pkcs5/pbes2", "rand_core"]
pem = ["alloc", "pem-rfc7468/alloc"]
sha1 = ["encryption", "pkcs5/sha1"]
std = ["alloc", "der/std"]

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