[package]
edition = "2024"
name = "keywatch"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async channel that coalesces per-key Add/Delete updates with an optional cooldown."
readme = false
license = "MIT"
repository = "https://github.com/davidspies/keywatch"
[features]
parking_lot = ["dep:parking_lot"]
[lib]
name = "keywatch"
path = "src/lib.rs"
[[test]]
name = "advanced"
path = "tests/advanced.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[dependencies.list_ordered_hashmap]
version = "0.1.5"
[dependencies.parking_lot]
version = "0.12.4"
optional = true
[dependencies.tokio]
version = "1.47.1"
features = [
"macros",
"sync",
"time",
]
[dev-dependencies.criterion]
version = "0.7.0"
features = [
"html_reports",
"async_tokio",
]
[dev-dependencies.tokio]
version = "1.47.1"
features = [
"rt",
"rt-multi-thread",
]