[package]
edition = "2021"
name = "aa-cache"
version = "0.0.1-beta.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "In-process L1 cache wrapper (DashMap + TTL + stampede protection) for the Agent Assembly storage traits"
readme = false
license = "Apache-2.0"
repository = "https://github.com/ai-agent-assembly/agent-assembly"
[features]
test-utils = ["tokio/time"]
[lib]
name = "aa_cache"
path = "src/lib.rs"
[[bench]]
name = "l1_hit"
path = "benches/l1_hit.rs"
harness = false
[dependencies.aa-core]
version = "0.0.1-beta.1"
[dependencies.async-trait]
version = "0.1"
[dependencies.dashmap]
version = "6"
[dependencies.tokio]
version = "1"
features = ["sync"]
[dev-dependencies.criterion]
version = "0.8"
features = ["async_tokio"]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
]
[lints.clippy]
all = "warn"
complexity = "warn"
correctness = "deny"
perf = "warn"
style = "warn"
suspicious = "deny"