[package]
edition = "2024"
rust-version = "1.92"
name = "uselesskey-rsa"
version = "0.5.1"
authors = ["Effortless Metrics <opensource@effortlessmetrics.com>"]
build = false
exclude = [
"fuzz/**",
"corpus/**",
"**/*.der",
"**/*.pem",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RSA key fixtures (PKCS#8/SPKI, PEM/DER) with negative variants for tests."
homepage = "https://github.com/EffortlessMetrics/uselesskey"
documentation = "https://docs.rs/uselesskey-rsa"
readme = "README.md"
keywords = [
"rsa",
"pkcs8",
"spki",
"fixtures",
"testing",
]
categories = [
"development-tools::testing",
"cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/EffortlessMetrics/uselesskey"
resolver = "2"
[package.metadata.docs.rs]
features = ["jwk"]
[features]
default = ["legacy-rsa09"]
jwk = [
"dep:serde_json",
"dep:base64",
"dep:uselesskey-jwk",
]
legacy-rsa09 = [
"dep:rsa09",
"dep:rand_chacha",
"dep:rand_core",
]
[lib]
name = "uselesskey_rsa"
path = "src/lib.rs"
[[test]]
name = "accessors"
path = "tests/accessors.rs"
[[test]]
name = "cache_coherence"
path = "tests/cache_coherence.rs"
[[test]]
name = "coverage_gaps"
path = "tests/coverage_gaps.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "error_paths"
path = "tests/error_paths.rs"
[[test]]
name = "format_roundtrip"
path = "tests/format_roundtrip.rs"
[[test]]
name = "mutant_killers"
path = "tests/mutant_killers.rs"
[[test]]
name = "mutation_hardening"
path = "tests/mutation_hardening.rs"
[[test]]
name = "negative_integration"
path = "tests/negative_integration.rs"
[[test]]
name = "negative_validation"
path = "tests/negative_validation.rs"
[[test]]
name = "rsa_prop"
path = "tests/rsa_prop.rs"
[[test]]
name = "snapshots_rsa"
path = "tests/snapshots_rsa.rs"
[[test]]
name = "testutil"
path = "tests/testutil.rs"
[dependencies.base64]
version = "0.22.1"
optional = true
[dependencies.rand_chacha]
version = "0.3.1"
optional = true
default-features = false
[dependencies.rand_chacha10]
version = "0.10.0"
default-features = false
package = "rand_chacha"
[dependencies.rand_core]
version = "0.6.4"
optional = true
default-features = false
[dependencies.rand_core10]
version = "0.10.0"
default-features = false
package = "rand_core"
[dependencies.rsa]
version = "0.10.0-rc.17"
features = ["sha2"]
[dependencies.rsa09]
version = "0.9.10"
features = ["pem"]
optional = true
package = "rsa"
[dependencies.serde_json]
version = "1.0.149"
optional = true
[dependencies.uselesskey-core]
version = "0.5.1"
[dependencies.uselesskey-core-keypair-material]
version = "0.5.1"
[dependencies.uselesskey-jwk]
version = "0.5.1"
optional = true
[dev-dependencies.insta]
version = "1.47.0"
features = [
"yaml",
"redactions",
]
[dev-dependencies.proptest]
version = "1.11.0"
[dev-dependencies.rstest]
version = "0.26.1"
[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]