[dependencies.aok]
version = "0.1.18"
[dependencies.boxleak]
version = "0.1.2"
[dependencies.dashmap]
optional = true
version = "6.1.0"
[dependencies.defer-lite]
version = "1.0.0"
[dependencies.sendptr]
version = "0.1.2"
[dependencies.tokio]
features = ["macros", "rt", "rt-multi-thread", "time", "sync"]
version = "1.48.0"
[dev-dependencies.aok]
version = "0.1.18"
[dev-dependencies.log]
version = "0.4.29"
[dev-dependencies.log_init]
version = "0.1.34"
[dev-dependencies.static_init]
version = "1.0.4"
[features]
dashmap = ["dep:dashmap"]
dashset = ["dep:dashmap"]
default = []
get_or_init = []
get_or_init_async = []
[lib]
name = "expire_cache"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "High-performance generational cache for Rust / 高性能分代缓存"
edition = "2024"
homepage = "https://github.com/js0-site/rust/tree/main/expire_cache"
keywords = ["cache", "expire", "generational", "async", "concurrent"]
license = "MulanPSL-2.0"
name = "expire_cache"
readme = "README.md"
repository = "https://github.com/js0-site/rust.git"
resolver = "2"
version = "0.1.17"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "main"
path = "tests/main.rs"