foyer 0.22.3

foyer - Hybrid cache for Rust
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.85.0"
name = "foyer"
version = "0.22.3"
authors = ["MrCroxx <mrcroxx@outlook.com>"]
build = "build.rs"
exclude = ["website/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "foyer - Hybrid cache for Rust"
homepage = "https://foyer-rs.github.io/foyer"
readme = "README.md"
keywords = [
    "cache",
    "hybrid",
]
license = "Apache-2.0"
repository = "https://github.com/foyer-rs/foyer"

[package.metadata.docs.rs]
features = [
    "serde",
    "tracing",
    "nightly",
    "deadlock",
    "strict_assertions",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.cargo-udeps.ignore]
development = ["jiff"]

[features]
clap = ["foyer-storage/clap"]
deadlock = ["foyer-storage/deadlock"]
default = ["runtime-tokio"]
nightly = [
    "foyer-storage/nightly",
    "foyer-memory/nightly",
]
runtime-madsim-tokio = ["tokio/runtime-madsim-tokio"]
runtime-tokio = ["tokio/runtime-tokio"]
serde = [
    "foyer-common/serde",
    "foyer-storage/serde",
]
strict_assertions = [
    "foyer-common/strict_assertions",
    "foyer-memory/strict_assertions",
    "foyer-storage/strict_assertions",
]
test_utils = ["foyer-storage/test_utils"]
tracing = [
    "dep:fastrace",
    "foyer-common/tracing",
    "foyer-memory/tracing",
    "foyer-storage/tracing",
]

[lib]
name = "foyer"
path = "src/lib.rs"

[[test]]
name = "hybrid_cache_fuzzy_test"
path = "tests/hybrid_cache_fuzzy_test.rs"
required-features = ["test_utils"]

[dependencies.anyhow]
version = "1"

[dependencies.equivalent]
version = "1"

[dependencies.fastrace]
version = "0.7"
optional = true

[dependencies.foyer-common]
version = "0.22.3"
default-features = false

[dependencies.foyer-memory]
version = "0.22.3"
default-features = false

[dependencies.foyer-storage]
version = "0.22.3"
default-features = false

[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false

[dependencies.mea]
version = "0.6"

[dependencies.mixtrics]
version = "0.2"

[dependencies.pin-project]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.tokio]
version = "0.22.3"
features = ["time"]
default-features = false
package = "foyer-tokio"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.foyer-storage]
version = "0.22.3"
features = ["test_utils"]
default-features = false

[dev-dependencies.jiff]
version = "0.2.16"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.test-log]
version = "0.2"
features = [
    "trace",
    "color",
]

[dev-dependencies.tokio]
version = "0.22.3"
default-features = false
package = "foyer-tokio"

[lints.clippy]
allow_attributes = "warn"

[lints.rust]
missing_docs = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(madsim)"]