[package] name = "foyer" description = "foyer - Hybrid cache for Rust" version = { workspace = true } edition = { workspace = true } rust-version = { workspace = true } repository = { workspace = true } homepage = { workspace = true } keywords = { workspace = true } authors = { workspace = true } license = { workspace = true } readme = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] ahash = "0.8" anyhow = "1" fastrace = { workspace = true } foyer-common = { workspace = true } foyer-memory = { workspace = true } foyer-storage = { workspace = true } futures = "0.3" pin-project = "1" tokio = { workspace = true } tracing = "0.1" [dev-dependencies] tempfile = "3" test-log = { workspace = true } [features] default = [] nightly = ["foyer-storage/nightly"] deadlock = ["foyer-storage/deadlock"] strict_assertions = [ "foyer-common/strict_assertions", "foyer-memory/strict_assertions", "foyer-storage/strict_assertions", ] sanity = ["strict_assertions", "foyer-memory/sanity"] tracing = [ "fastrace/enable", "foyer-common/tracing", "foyer-memory/tracing", "foyer-storage/tracing", ]