[dependencies.ahash]
version = "0.8"
[dependencies.anyhow]
version = "1"
[dependencies.equivalent]
version = "1"
[dependencies.fastrace]
version = "0.7"
[dependencies.foyer-common]
version = "0.15.0"
[dependencies.foyer-memory]
version = "0.15.0"
[dependencies.foyer-storage]
version = "0.15.0"
[dependencies.mixtrics]
version = "0.0.4"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.test-log]
default-features = false
features = ["trace", "color"]
version = "0.2"
[features]
deadlock = ["foyer-storage/deadlock"]
default = []
nightly = ["foyer-storage/nightly", "foyer-memory/nightly"]
strict_assertions = ["foyer-common/strict_assertions", "foyer-memory/strict_assertions", "foyer-storage/strict_assertions"]
tracing = ["fastrace/enable", "foyer-common/tracing", "foyer-memory/tracing", "foyer-storage/tracing"]
[lib]
name = "foyer"
path = "src/lib.rs"
[lints.clippy]
allow_attributes = "warn"
[lints.rust]
missing_docs = "warn"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(madsim)"]
level = "warn"
priority = 0
[package]
authors = ["MrCroxx <mrcroxx@outlook.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "foyer - Hybrid cache for Rust"
edition = "2021"
homepage = "https://foyer.rs"
keywords = ["cache", "hybrid"]
license = "Apache-2.0"
name = "foyer"
readme = "README.md"
repository = "https://github.com/foyer-rs/foyer"
rust-version = "1.81.0"
version = "0.15.0"
[package.metadata.docs.rs]
features = ["nightly"]
rustdoc-args = ["--cfg", "docsrs"]
[target."cfg(madsim)".dependencies.tokio]
features = ["rt", "rt-multi-thread", "sync", "macros", "time", "signal", "fs"]
package = "madsim-tokio"
version = "0.2"
[target."cfg(not(madsim))".dependencies.tokio]
features = ["rt", "rt-multi-thread", "sync", "macros", "time", "signal", "fs"]
package = "tokio"
version = "1"