1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14rust-version = "1.65"
15name = "pkcs8"
16version = "0.10.2"
17authors = ["RustCrypto Developers"]
18description = """
19Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #8:
20Private-Key Information Syntax Specification (RFC 5208), with additional
21support for PKCS#8v2 asymmetric key packages (RFC 5958)
22"""
23readme = "README.md"
24keywords = [
25    "crypto",
26    "key",
27    "pkcs",
28    "private",
29]
30categories = [
31    "cryptography",
32    "data-structures",
33    "encoding",
34    "no-std",
35    "parser-implementations",
36]
37license = "Apache-2.0 OR MIT"
38repository = "https://github.com/RustCrypto/formats/tree/master/pkcs8"
39
40[package.metadata.docs.rs]
41all-features = true
42rustdoc-args = [
43    "--cfg",
44    "docsrs",
45]
46
47[dependencies.der]
48version = "0.7"
49features = ["oid"]
50
51[dependencies.pkcs5]
52version = "0.7"
53optional = true
54
55[dependencies.rand_core]
56version = "0.6"
57optional = true
58default-features = false
59
60[dependencies.spki]
61version = "0.7.1"
62
63[dependencies.subtle]
64version = "2"
65optional = true
66default-features = false
67
68[dev-dependencies.hex-literal]
69version = "0.3"
70
71[dev-dependencies.tempfile]
72version = "3"
73
74[features]
753des = [
76    "encryption",
77    "pkcs5/3des",
78]
79alloc = [
80    "der/alloc",
81    "der/zeroize",
82    "spki/alloc",
83]
84des-insecure = [
85    "encryption",
86    "pkcs5/des-insecure",
87]
88encryption = [
89    "alloc",
90    "pkcs5/alloc",
91    "pkcs5/pbes2",
92    "rand_core",
93]
94getrandom = ["rand_core/getrandom"]
95pem = [
96    "alloc",
97    "der/pem",
98    "spki/pem",
99]
100sha1-insecure = [
101    "encryption",
102    "pkcs5/sha1-insecure",
103]
104std = [
105    "alloc",
106    "der/std",
107    "spki/std",
108]
109