[package]
edition = "2021"
rust-version = "1.71"
name = "quick_cache"
version = "0.6.19"
authors = ["Arthur Silva <arthurprs@gmail.com>"]
build = false
exclude = ["fuzz"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight and high performance concurrent cache"
readme = "README.md"
keywords = [
"lru",
"concurrent",
"cache",
"s3-fifo",
"clock",
]
categories = [
"caching",
"concurrency",
"data-structures",
]
license = "MIT"
repository = "https://github.com/arthurprs/quick-cache"
[package.metadata.docs.rs]
features = ["stats"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = [
"ahash",
"parking_lot",
]
shuttle = ["dep:shuttle"]
stats = []
[lib]
name = "quick_cache"
path = "src/lib.rs"
[[example]]
name = "custom_weight"
path = "examples/custom_weight.rs"
[[example]]
name = "equivalent"
path = "examples/equivalent.rs"
[[example]]
name = "eviction_listener"
path = "examples/eviction_listener.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[[bench]]
name = "placeholder_async_bench"
path = "benches/placeholder_async_bench.rs"
harness = false
[[bench]]
name = "placeholder_bench"
path = "benches/placeholder_bench.rs"
harness = false
[dependencies.ahash]
version = "0.8"
optional = true
[dependencies.equivalent]
version = "1.0"
[dependencies.hashbrown]
version = "0.16"
features = ["inline-more"]
default-features = false
[dependencies.parking_lot]
version = "0.12"
optional = true
[dependencies.shuttle]
version = "0.8"
optional = true
[dev-dependencies.criterion]
version = "0.7"
[dev-dependencies.rand]
version = "0.9"
features = ["small_rng"]
[dev-dependencies.rand_distr]
version = "0.5"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]
[profile.shuttle]
opt-level = 3
inherits = "test"