[package]
name = "foyer-storage"
version = "0.8.5"
edition = "2021"
authors = ["MrCroxx <mrcroxx@outlook.com>"]
description = "storage engine for foyer - the hybrid cache for Rust"
license = "Apache-2.0"
repository = "https://github.com/mrcroxx/foyer"
homepage = "https://github.com/mrcroxx/foyer"
readme = "../README.md"
[dependencies]
ahash = "0.8"
allocator-api2 = "0.2"
anyhow = "1.0"
array-util = "1"
async-channel = "2"
bincode = "1"
bitflags = "2.3.1"
bytes = "1"
either = "1"
foyer-common = { version = "0.7.3", path = "../foyer-common" }
foyer-memory = { version = "0.5.2", path = "../foyer-memory" }
futures = "0.3"
itertools = { workspace = true }
lazy_static = "1"
libc = "0.2"
lz4 = "1.24"
parking_lot = { version = "0.12", features = ["arc_lock"] }
pin-project = "1"
rand = "0.8"
serde = { workspace = true }
thiserror = "1"
tokio = { workspace = true }
tracing = "0.1"
twox-hash = "1"
zstd = "0.13"
[dev-dependencies]
tempfile = "3"
test-log = { workspace = true }
[features]
default = []
deadlock = ["parking_lot/deadlock_detection"]
nightly = ["allocator-api2/nightly"]
strict_assertions = [
"foyer-common/strict_assertions",
"foyer-memory/strict_assertions",
]