[package]
categories = ["caching", "data-structures"]
description = "Performance-first bounded RAM and NVMe hybrid cache"
documentation = "https://docs.rs/cache2"
keywords = ["cache", "nvme", "storage"]
name = "cache2"
version = "0.4.0"
edition.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
asyncband = { workspace = true }
crc-fast = { workspace = true }
hashcrew = { workspace = true }
log = { workspace = true }
tokio = { workspace = true }
[dev-dependencies]
quickcheck = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
[features]
benchmarking = []
default = []
io-uring = ["dep:io-uring"]
[target.'cfg(all(target_os = "linux", any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "riscv64", target_arch = "loongarch64", target_arch = "powerpc64")))'.dependencies]
io-uring = { workspace = true, optional = true }
[target.'cfg(unix)'.dependencies]
libc = { workspace = true }
[lints]
workspace = true