[package]
name = "hydracache"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
readme.workspace = true
keywords.workspace = true
categories.workspace = true
description = "User-facing HydraCache runtime crate."

[features]
default = []
durable-value-store = ["dep:sled"]
durable-values = []
tiered-values = []
testing = []

[dependencies]
serde.workspace = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
async-trait.workspace = true
bytes.workspace = true
futures-util.workspace = true
hydracache-core.workspace = true
hydracache-macros.workspace = true
moka.workspace = true
sled = { workspace = true, optional = true }
thiserror.workspace = true
tokio.workspace = true

[dev-dependencies]
criterion.workspace = true
loom.workspace = true
proptest.workspace = true
serde_json.workspace = true
trybuild.workspace = true

[[bench]]
name = "cache_hot_path"
harness = false

[lints]
workspace = true
