[package]
edition = "2024"
rust-version = "1.92"
name = "uselesskey-hmac"
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 = "HMAC HS256/HS384/HS512 secret fixtures for deterministic and random tests."
homepage = "https://github.com/EffortlessMetrics/uselesskey"
documentation = "https://docs.rs/uselesskey-hmac"
readme = "README.md"
keywords = [
"hmac",
"jwt",
"fixtures",
"testing",
"deterministic",
]
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 = []
jwk = [
"dep:uselesskey-jwk",
"dep:base64",
]
[lib]
name = "uselesskey_hmac"
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 = "hmac_prop"
path = "tests/hmac_prop.rs"
[[test]]
name = "hmac_unit"
path = "tests/hmac_unit.rs"
[[test]]
name = "mutation_hardening"
path = "tests/mutation_hardening.rs"
[[test]]
name = "negative_validation"
path = "tests/negative_validation.rs"
[[test]]
name = "snapshots_hmac"
path = "tests/snapshots_hmac.rs"
[[test]]
name = "testutil"
path = "tests/testutil.rs"
[dependencies.base64]
version = "0.22.1"
optional = true
[dependencies.rand_chacha10]
version = "0.10.0"
default-features = false
package = "rand_chacha"
[dependencies.rand_core10]
version = "0.10.0"
default-features = false
package = "rand_core"
[dependencies.uselesskey-core]
version = "0.5.1"
[dependencies.uselesskey-core-hmac-spec]
version = "0.5.1"
[dependencies.uselesskey-core-kid]
version = "0.5.1"
[dependencies.uselesskey-jwk]
version = "0.5.1"
optional = true
[dev-dependencies.base64]
version = "0.22.1"
[dev-dependencies.insta]
version = "1.47.0"
features = [
"yaml",
"redactions",
]
[dev-dependencies.proptest]
version = "1.11.0"
[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]