blob: cdc15b4e75c63b1db710fce7292ec10e4f3d5efa [file] [log] [blame]
[package]
name = "pkcs1"
version = "0.7.5"
description = """
Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1:
RSA Cryptography Specifications Version 2.2 (RFC 8017)
"""
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/formats/tree/master/pkcs1"
categories = ["cryptography", "data-structures", "encoding", "no-std", "parser-implementations"]
keywords = ["crypto", "key", "pem", "pkcs", "rsa"]
readme = "README.md"
edition = "2021"
rust-version = "1.60"
[dependencies]
der = { version = "0.7", features = ["oid"] }
spki = { version = "0.7" }
# optional dependencies
pkcs8 = { version = "0.10", optional = true, default-features = false }
[dev-dependencies]
const-oid = { version = "0.9", features = ["db"] } # TODO: path = "../const-oid"
hex-literal = "0.4"
tempfile = "3"
[features]
zeroize = ["der/zeroize"]
alloc = ["der/alloc", "zeroize", "pkcs8?/alloc"]
pem = ["alloc", "der/pem", "pkcs8?/pem"]
std = ["der/std", "alloc"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]