[package]
edition = "2024"
name = "expire_cache"
version = "0.1.26"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance generational cache for Rust / 高性能分代缓存"
homepage = "https://github.com/webc-site/npm/tree/main/expire_cache"
readme = "README.md"
keywords = [
"cache",
"expire",
"generational",
"async",
"concurrent",
]
categories = [
"caching",
"data-structures",
"concurrency",
"asynchronous",
"development-tools",
]
license = "MulanPSL-2.0"
repository = "https://github.com/webc-site/npm.git"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
get_or_init = []
get_or_init_async = []
hashmap = ["dep:papaya"]
hashset = ["dep:papaya"]
[lib]
name = "expire_cache"
path = "src/lib.rs"
[[test]]
name = "main"
path = "tests/main.rs"
[dependencies.boxleak]
version = "0.1.2"
[dependencies.papaya]
version = "0.2.4"
optional = true
[dependencies.parking_lot]
version = "0.12"
[dependencies.sendptr]
version = "0.1.3"
[dependencies.tokio]
version = "1.52.3"
features = [
"macros",
"rt",
"rt-multi-thread",
"time",
"sync",
]
[dev-dependencies.aok]
version = "0.1.18"
[dev-dependencies.log]
version = "0.4.32"
[dev-dependencies.log_init]
version = "0.1.36"
[dev-dependencies.papaya]
version = "0.2.4"
[dev-dependencies.static_init]
version = "1.0.4"
features = ["parking_lot"]