[package]
edition = "2024"
rust-version = "1.92"
name = "uselesskey-core-cache"
version = "0.2.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 = "Identity-keyed typed cache primitives for uselesskey fixture factories."
homepage = "https://github.com/EffortlessMetrics/uselesskey"
documentation = "https://docs.rs/uselesskey-core-cache"
readme = "README.md"
keywords = [
"fixtures",
"cache",
"deterministic",
"testing",
"core",
]
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:dashmap",
"uselesskey-core-id/std",
]
[lib]
name = "uselesskey_core_cache"
path = "src/lib.rs"
[[test]]
name = "cache_perf"
path = "tests/cache_perf.rs"
[[test]]
name = "comprehensive"
path = "tests/comprehensive.rs"
[[test]]
name = "concurrency"
path = "tests/concurrency.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "integration_cache"
path = "tests/integration_cache.rs"
[[test]]
name = "mutant_killers"
path = "tests/mutant_killers.rs"
[[test]]
name = "prop_cache"
path = "tests/prop_cache.rs"
[[test]]
name = "snapshots_cache"
path = "tests/snapshots_cache.rs"
[dependencies.dashmap]
version = "6.1.0"
optional = true
[dependencies.spin]
version = "0.9.8"
features = [
"mutex",
"spin_mutex",
]
default-features = false
[dependencies.uselesskey-core-id]
version = "0.2.0"
default-features = false
[dev-dependencies.insta]
version = "1.46.3"
features = [
"yaml",
"redactions",
]
[dev-dependencies.proptest]
version = "1.10.0"
[dev-dependencies.rstest]
version = "0.26.1"
[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]