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.57" 15name = "pkcs1" 16version = "0.4.1" 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.6" 49features = ["oid"] 50 51[dependencies.pkcs8] 52version = "0.9" 53optional = true 54default-features = false 55 56[dependencies.spki] 57version = "0.6" 58 59[dependencies.zeroize] 60version = "1" 61optional = true 62default-features = false 63 64[dev-dependencies.const-oid] 65version = "0.9" 66features = ["db"] 67 68[dev-dependencies.hex-literal] 69version = "0.3" 70 71[dev-dependencies.tempfile] 72version = "3" 73 74[features] 75alloc = [ 76 "der/alloc", 77 "pkcs8/alloc", 78 "zeroize/alloc", 79] 80pem = [ 81 "alloc", 82 "der/pem", 83 "pkcs8/pem", 84] 85std = [ 86 "der/std", 87 "alloc", 88] 89