67 lines
3.0 KiB
TOML
67 lines
3.0 KiB
TOML
[package]
|
|
name = "rsa"
|
|
version = "0.9.6"
|
|
authors = ["RustCrypto Developers", "dignifiedquire <dignifiedquire@gmail.com>"]
|
|
edition = "2021"
|
|
description = "Pure Rust RSA implementation"
|
|
license = "MIT OR Apache-2.0"
|
|
documentation = "https://docs.rs/rsa"
|
|
repository = "https://github.com/RustCrypto/RSA"
|
|
keywords = ["rsa", "encryption", "security", "crypto"]
|
|
categories = ["cryptography"]
|
|
readme = "README.md"
|
|
rust-version = "1.65"
|
|
|
|
[dependencies]
|
|
num-bigint = { git = "https://git.alnyan.me/yggdrasil/num-bigint-dig.git", package = "num-bigint-dig", branch = "alnyan/yggdrasil-0.8.2", features = ["i128", "prime", "zeroize"], default-features = false }
|
|
num-traits = { version= "0.2.9", default-features = false, features = ["libm"] }
|
|
num-integer = { version = "0.1.39", default-features = false }
|
|
const-oid = { version = "0.9", default-features = false }
|
|
rand_core = { git = "https://git.alnyan.me/yggdrasil/rand.git", branch = "alnyan/yggdrasil-rng_core-0.6.4", default-features = false }
|
|
subtle = { version = "2.1.1", default-features = false }
|
|
digest = { version = "0.10.5", default-features = false, features = ["alloc", "oid"] }
|
|
pkcs1 = { version = "0.7.5", default-features = false, features = ["alloc", "pkcs8"] }
|
|
pkcs8 = { version = "0.10.2", default-features = false, features = ["alloc"] }
|
|
signature = { git = "https://git.alnyan.me/yggdrasil/rustcrypto-traits.git", branch = "alnyan/yggdrasil-2.2.0", default-features = false , features = ["alloc", "digest", "rand_core"] }
|
|
spki = { version = "0.7.3", default-features = false, features = ["alloc"] }
|
|
zeroize = { version = "1.5", features = ["alloc"] }
|
|
|
|
# optional dependencies
|
|
sha1 = { version = "0.10.5", optional = true, default-features = false, features = ["oid"] }
|
|
sha2 = { version = "0.10.6", optional = true, default-features = false, features = ["oid"] }
|
|
serde = { version = "1.0.184", optional = true, default-features = false, features = ["derive"] }
|
|
|
|
[dev-dependencies]
|
|
base64ct = { version = "1", features = ["alloc"] }
|
|
hex-literal = "0.4.1"
|
|
proptest = "1"
|
|
serde_test = "1.0.89"
|
|
rand_xorshift = "0.3"
|
|
rand_chacha = "0.3"
|
|
sha1 = { version = "0.10.5", default-features = false, features = ["oid"] }
|
|
sha2 = { version = "0.10.6", default-features = false, features = ["oid"] }
|
|
sha3 = { version = "0.10.7", default-features = false, features = ["oid"] }
|
|
rand = { git = "https://git.alnyan.me/yggdrasil/rand.git", branch = "alnyan/yggdrasil-rng_core-0.6.4" }
|
|
rand_core = { git = "https://git.alnyan.me/yggdrasil/rand.git", branch = "alnyan/yggdrasil-rng_core-0.6.4", default-features = false }
|
|
|
|
[[bench]]
|
|
name = "key"
|
|
|
|
[features]
|
|
default = ["std", "pem", "u64_digit"]
|
|
hazmat = []
|
|
getrandom = ["rand_core/getrandom"]
|
|
nightly = ["num-bigint/nightly"]
|
|
serde = ["dep:serde", "num-bigint/serde"]
|
|
pem = ["pkcs1/pem", "pkcs8/pem"]
|
|
pkcs5 = ["pkcs8/encryption"]
|
|
u64_digit = ["num-bigint/u64_digit"]
|
|
std = ["digest/std", "pkcs1/std", "pkcs8/std", "rand_core/std", "signature/std"]
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["std", "pem", "serde", "hazmat", "sha2"]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[profile.dev]
|
|
opt-level = 2
|