# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "pkcs8"
version = "0.6.0"
authors = ["RustCrypto Developers"]
description = "Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #8:\nPrivate-Key Information Syntax Specification (RFC 5208)\n"
readme = "README.md"
keywords = ["crypto", "key", "pkcs", "private"]
categories = ["cryptography", "data-structures", "encoding", "no-std"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/utils/tree/master/pkcs8"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies.base64ct]
version = "1"
optional = true

[dependencies.der]
version = "0.3"
features = ["oid"]

[dependencies.pkcs5]
version = "0.2"
optional = true

[dependencies.rand_core]
version = "0.6"
optional = true
default-features = false

[dependencies.spki]
version = "0.3"

[dependencies.zeroize]
version = "1"
features = ["alloc"]
optional = true
default-features = false
[dev-dependencies.hex-literal]
version = "0.3"

[features]
alloc = ["der/alloc", "zeroize"]
encryption = ["alloc", "pkcs5/alloc", "pkcs5/pbes2", "rand_core"]
pem = ["alloc", "base64ct/alloc"]
std = ["alloc", "der/std"]
