• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "pkcs1"
3version = "0.4.1"
4description = """
5Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1:
6RSA Cryptography Specifications Version 2.2 (RFC 8017)
7"""
8authors = ["RustCrypto Developers"]
9license = "Apache-2.0 OR MIT"
10repository = "https://github.com/RustCrypto/formats/tree/master/pkcs1"
11categories = ["cryptography", "data-structures", "encoding", "no-std", "parser-implementations"]
12keywords = ["crypto", "key", "pem", "pkcs", "rsa"]
13readme = "README.md"
14edition = "2021"
15rust-version = "1.57"
16
17[dependencies]
18der = { version = "0.6", features = ["oid"], path = "../der" }
19spki = { version = "0.6", path = "../spki" }
20
21# optional dependencies
22pkcs8 = { version = "0.9", optional = true, default-features = false, path = "../pkcs8" }
23zeroize = { version = "1", optional = true, default-features = false }
24
25[dev-dependencies]
26hex-literal = "0.3"
27tempfile = "3"
28const-oid = { version = "0.9", path = "../const-oid", features = ["db"] }
29
30[features]
31alloc = ["der/alloc", "pkcs8/alloc", "zeroize/alloc"]
32pem = ["alloc", "der/pem", "pkcs8/pem"]
33std = ["der/std", "alloc"]
34
35[package.metadata.docs.rs]
36all-features = true
37rustdoc-args = ["--cfg", "docsrs"]
38