[package]
edition = "2024"
rust-version = "1.95"
name = "uselesskey-ring"
version = "0.9.0"
authors = ["Effortless Metrics <opensource@effortlessmetrics.com>"]
build = false
exclude = [
"fuzz/**",
"corpus/**",
"**/*.der",
"**/*.pem",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ring 0.17 adapter traits for uselesskey RSA/ECDSA/Ed25519 fixtures."
homepage = "https://github.com/EffortlessMetrics/uselesskey"
documentation = "https://docs.rs/uselesskey-ring"
readme = "README.md"
keywords = [
"ring",
"signing",
"fixtures",
"testing",
"adapter",
]
categories = [
"development-tools::testing",
"cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/EffortlessMetrics/uselesskey"
resolver = "2"
[package.metadata.docs.rs]
features = ["all"]
[features]
all = [
"rsa",
"ecdsa",
"ed25519",
]
default = []
ecdsa = ["dep:uselesskey-ecdsa"]
ed25519 = ["dep:uselesskey-ed25519"]
rsa = ["dep:uselesskey-rsa"]
[lib]
name = "uselesskey_ring"
path = "src/lib.rs"
[[test]]
name = "adapter_integration"
path = "tests/adapter_integration.rs"
[[test]]
name = "prop_tests_ring"
path = "tests/prop_tests_ring.rs"
[[test]]
name = "ring_comprehensive"
path = "tests/ring_comprehensive.rs"
[[test]]
name = "ring_multi_scheme"
path = "tests/ring_multi_scheme.rs"
[[test]]
name = "snapshots_ring"
path = "tests/snapshots_ring.rs"
[[test]]
name = "testutil"
path = "tests/testutil.rs"
[dependencies.ring]
version = "0.17"
[dependencies.uselesskey-ecdsa]
version = "0.9.0"
optional = true
[dependencies.uselesskey-ed25519]
version = "0.9.0"
optional = true
[dependencies.uselesskey-rsa]
version = "0.9.0"
optional = true
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.insta]
version = "1.47.2"
features = [
"yaml",
"redactions",
]
[dev-dependencies.proptest]
version = "1.11.0"
[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dev-dependencies.uselesskey-core]
version = "0.9.0"
[lints.clippy]
dbg_macro = "deny"
decimal_bitwise_operands = "warn"
duration_suboptimal_units = "warn"
manual_checked_ops = "warn"
manual_ilog2 = "warn"
manual_take = "warn"
needless_type_cast = "warn"
same_length_and_capacity = "deny"
todo = "deny"
unimplemented = "deny"
unnecessary_trailing_comma = "warn"
[lints.rust]
const_item_interior_mutations = "deny"
function_casts_as_integer = "deny"
unexpected_cfgs = "warn"
unsafe_op_in_unsafe_fn = "deny"
unused_must_use = "deny"
unused_visibilities = "warn"