[package]
edition = "2024"
rust-version = "1.95"
name = "uselesskey-core"
version = "0.7.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 = "Core factory, deterministic derivation, and cache engine for uselesskey test fixtures."
homepage = "https://github.com/EffortlessMetrics/uselesskey"
documentation = "https://docs.rs/uselesskey-core"
readme = "README.md"
keywords = [
"test",
"fixtures",
"deterministic",
"cache",
"seeded",
]
categories = [
"development-tools::testing",
"cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/EffortlessMetrics/uselesskey"
resolver = "2"
[package.metadata.docs.rs]
features = ["std"]
[features]
default = ["std"]
std = [
"dep:base64",
"dep:dashmap",
"dep:tempfile",
"blake3/std",
"rand10/std",
"rand10/sys_rng",
"rand_chacha10/std",
"thiserror/std",
]
[lib]
name = "uselesskey_core"
path = "src/lib.rs"
[[test]]
name = "concurrency_stress"
path = "tests/concurrency_stress.rs"
[[test]]
name = "core_prop"
path = "tests/core_prop.rs"
[[test]]
name = "determinism_regression"
path = "tests/determinism_regression.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "factory_env"
path = "tests/factory_env.rs"
[[test]]
name = "factory_mutants"
path = "tests/factory_mutants.rs"
[[test]]
name = "factory_text_seed"
path = "tests/factory_text_seed.rs"
[[test]]
name = "negative_prop"
path = "tests/negative_prop.rs"
[[test]]
name = "security_invariants"
path = "tests/security_invariants.rs"
[[test]]
name = "snapshots_core"
path = "tests/snapshots_core.rs"
[dependencies.base64]
version = "0.22.1"
optional = true
[dependencies.blake3]
version = "1.8.4"
[dependencies.dashmap]
version = "6.1.0"
optional = true
[dependencies.rand10]
version = "0.10.1"
default-features = false
package = "rand"
[dependencies.rand_chacha10]
version = "0.10.0"
default-features = false
package = "rand_chacha"
[dependencies.rand_core10]
version = "0.10.1"
default-features = false
package = "rand_core"
[dependencies.spin]
version = "0.10.0"
features = [
"mutex",
"spin_mutex",
]
default-features = false
[dependencies.tempfile]
version = "3.27.0"
optional = true
[dependencies.thiserror]
version = "2.0.18"
default-features = false
[dev-dependencies.insta]
version = "1.47.2"
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"]
[lints.clippy]
dbg_macro = "deny"
todo = "deny"
unimplemented = "deny"
[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"