foyer-memory 0.22.3

memory cache for 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-memory"
version = "0.22.3"
authors = ["MrCroxx <mrcroxx@outlook.com>"]
build = false
exclude = ["website/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "memory cache for 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"

[features]
deadlock = ["parking_lot/deadlock_detection"]
default = ["tokio/runtime-tokio"]
nightly = ["hashbrown/nightly"]
strict_assertions = ["foyer-common/strict_assertions"]
test_utils = []
tracing = [
    "dep:fastrace",
    "foyer-common/tracing",
]

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

[[bench]]
name = "bench_dynamic_dispatch"
path = "benches/bench_dynamic_dispatch.rs"
harness = false

[[bench]]
name = "bench_hit_ratio"
path = "benches/bench_hit_ratio.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.bitflags]
version = "2"

[dependencies.cmsketch]
version = "0.2"

[dependencies.equivalent]
version = "1"

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

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

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

[dependencies.hashbrown]
version = "0.16"

[dependencies.intrusive-collections]
version = "0.10.0-dev"
package = "foyer-intrusive-collections"

[dependencies.itertools]
version = "0.14"

[dependencies.mea]
version = "0.6"

[dependencies.mixtrics]
version = "0.2"

[dependencies.parking_lot]
version = "0.12"

[dependencies.paste]
version = "1"

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

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

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

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.moka]
version = "0.12"
features = ["sync"]

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

[dev-dependencies.rand_distr]
version = "0.5"

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

[lints.clippy]
allow_attributes = "warn"

[lints.rust]
missing_docs = "warn"

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