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.60"
15name = "pkcs1"
16version = "0.7.5"
17authors = ["RustCrypto Developers"]
18description = """
19Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1:
20RSA Cryptography Specifications Version 2.2 (RFC 8017)
21"""
22readme = "README.md"
23keywords = [
24    "crypto",
25    "key",
26    "pem",
27    "pkcs",
28    "rsa",
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/pkcs1"
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.pkcs8]
52version = "0.10"
53optional = true
54default-features = false
55
56[dependencies.spki]
57version = "0.7"
58
59[dev-dependencies.const-oid]
60version = "0.9"
61features = ["db"]
62
63[dev-dependencies.hex-literal]
64version = "0.4"
65
66[dev-dependencies.tempfile]
67version = "3"
68
69[features]
70alloc = [
71    "der/alloc",
72    "zeroize",
73    "pkcs8?/alloc",
74]
75pem = [
76    "alloc",
77    "der/pem",
78    "pkcs8?/pem",
79]
80std = [
81    "der/std",
82    "alloc",
83]
84zeroize = ["der/zeroize"]
85