235 lines
3.9 KiB
TOML
235 lines
3.9 KiB
TOML
|
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
||
|
|
#
|
||
|
|
# When uploading crates to the registry Cargo will automatically
|
||
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
||
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
||
|
|
# to registry (e.g., crates.io) dependencies.
|
||
|
|
#
|
||
|
|
# If you are reading this file be aware that the original Cargo.toml
|
||
|
|
# will likely look very different (and much more reasonable).
|
||
|
|
# See Cargo.toml.orig for the original contents.
|
||
|
|
|
||
|
|
[package]
|
||
|
|
edition = "2021"
|
||
|
|
rust-version = "1.65"
|
||
|
|
name = "rsa"
|
||
|
|
version = "0.9.10"
|
||
|
|
authors = [
|
||
|
|
"RustCrypto Developers",
|
||
|
|
"dignifiedquire <dignifiedquire@gmail.com>",
|
||
|
|
]
|
||
|
|
build = false
|
||
|
|
autolib = false
|
||
|
|
autobins = false
|
||
|
|
autoexamples = false
|
||
|
|
autotests = false
|
||
|
|
autobenches = false
|
||
|
|
description = "Pure Rust RSA implementation"
|
||
|
|
documentation = "https://docs.rs/rsa"
|
||
|
|
readme = "README.md"
|
||
|
|
keywords = [
|
||
|
|
"rsa",
|
||
|
|
"encryption",
|
||
|
|
"security",
|
||
|
|
"crypto",
|
||
|
|
]
|
||
|
|
categories = ["cryptography"]
|
||
|
|
license = "MIT OR Apache-2.0"
|
||
|
|
repository = "https://github.com/RustCrypto/RSA"
|
||
|
|
|
||
|
|
[package.metadata.docs.rs]
|
||
|
|
features = [
|
||
|
|
"std",
|
||
|
|
"pem",
|
||
|
|
"serde",
|
||
|
|
"hazmat",
|
||
|
|
"sha2",
|
||
|
|
]
|
||
|
|
rustdoc-args = [
|
||
|
|
"--cfg",
|
||
|
|
"docsrs",
|
||
|
|
]
|
||
|
|
|
||
|
|
[features]
|
||
|
|
default = [
|
||
|
|
"std",
|
||
|
|
"pem",
|
||
|
|
"u64_digit",
|
||
|
|
]
|
||
|
|
getrandom = ["rand_core/getrandom"]
|
||
|
|
hazmat = []
|
||
|
|
nightly = ["num-bigint/nightly"]
|
||
|
|
pem = [
|
||
|
|
"pkcs1/pem",
|
||
|
|
"pkcs8/pem",
|
||
|
|
]
|
||
|
|
pkcs5 = ["pkcs8/encryption"]
|
||
|
|
serde = [
|
||
|
|
"dep:serde",
|
||
|
|
"num-bigint/serde",
|
||
|
|
]
|
||
|
|
std = [
|
||
|
|
"digest/std",
|
||
|
|
"pkcs1/std",
|
||
|
|
"pkcs8/std",
|
||
|
|
"rand_core/std",
|
||
|
|
"signature/std",
|
||
|
|
]
|
||
|
|
u64_digit = ["num-bigint/u64_digit"]
|
||
|
|
|
||
|
|
[lib]
|
||
|
|
name = "rsa"
|
||
|
|
path = "src/lib.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "pkcs1"
|
||
|
|
path = "tests/pkcs1.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "pkcs1v15"
|
||
|
|
path = "tests/pkcs1v15.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "pkcs8"
|
||
|
|
path = "tests/pkcs8.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "proptests"
|
||
|
|
path = "tests/proptests.rs"
|
||
|
|
|
||
|
|
[[bench]]
|
||
|
|
name = "key"
|
||
|
|
path = "benches/key.rs"
|
||
|
|
|
||
|
|
[dependencies.const-oid]
|
||
|
|
version = "0.9"
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.digest]
|
||
|
|
version = "0.10.5"
|
||
|
|
features = [
|
||
|
|
"alloc",
|
||
|
|
"oid",
|
||
|
|
]
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.num-bigint]
|
||
|
|
version = "0.8.6"
|
||
|
|
features = [
|
||
|
|
"i128",
|
||
|
|
"prime",
|
||
|
|
"zeroize",
|
||
|
|
]
|
||
|
|
default-features = false
|
||
|
|
package = "num-bigint-dig"
|
||
|
|
|
||
|
|
[dependencies.num-integer]
|
||
|
|
version = "0.1.39"
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.num-traits]
|
||
|
|
version = "0.2.9"
|
||
|
|
features = ["libm"]
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.pkcs1]
|
||
|
|
version = "0.7.5"
|
||
|
|
features = [
|
||
|
|
"alloc",
|
||
|
|
"pkcs8",
|
||
|
|
]
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.pkcs8]
|
||
|
|
version = "0.10.2"
|
||
|
|
features = ["alloc"]
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.rand_core]
|
||
|
|
version = "0.6.4"
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.serde]
|
||
|
|
version = "1.0.184"
|
||
|
|
features = ["derive"]
|
||
|
|
optional = true
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.sha1]
|
||
|
|
version = "0.10.5"
|
||
|
|
features = ["oid"]
|
||
|
|
optional = true
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.sha2]
|
||
|
|
version = "0.10.6"
|
||
|
|
features = ["oid"]
|
||
|
|
optional = true
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.signature]
|
||
|
|
version = ">2.0, <2.3"
|
||
|
|
features = [
|
||
|
|
"alloc",
|
||
|
|
"digest",
|
||
|
|
"rand_core",
|
||
|
|
]
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.spki]
|
||
|
|
version = "0.7.3"
|
||
|
|
features = ["alloc"]
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.subtle]
|
||
|
|
version = "2.1.1"
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.zeroize]
|
||
|
|
version = "1.5"
|
||
|
|
features = ["alloc"]
|
||
|
|
|
||
|
|
[dev-dependencies.base64ct]
|
||
|
|
version = "1"
|
||
|
|
features = ["alloc"]
|
||
|
|
|
||
|
|
[dev-dependencies.hex-literal]
|
||
|
|
version = "0.4.1"
|
||
|
|
|
||
|
|
[dev-dependencies.proptest]
|
||
|
|
version = "1"
|
||
|
|
|
||
|
|
[dev-dependencies.rand]
|
||
|
|
version = "0.8"
|
||
|
|
|
||
|
|
[dev-dependencies.rand_chacha]
|
||
|
|
version = "0.3"
|
||
|
|
|
||
|
|
[dev-dependencies.rand_core]
|
||
|
|
version = "0.6"
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dev-dependencies.rand_xorshift]
|
||
|
|
version = "0.3"
|
||
|
|
|
||
|
|
[dev-dependencies.serde_test]
|
||
|
|
version = "1.0.89"
|
||
|
|
|
||
|
|
[dev-dependencies.sha1]
|
||
|
|
version = "0.10.5"
|
||
|
|
features = ["oid"]
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dev-dependencies.sha2]
|
||
|
|
version = "0.10.6"
|
||
|
|
features = ["oid"]
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dev-dependencies.sha3]
|
||
|
|
version = "0.10.7"
|
||
|
|
features = ["oid"]
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[profile.dev]
|
||
|
|
opt-level = 2
|