# 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.81.0" name = "foyer-memory" version = "0.12.2" authors = ["MrCroxx "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "memory cache for foyer - Hybrid cache for Rust" homepage = "https://foyer.rs" readme = "README.md" keywords = [ "cache", "hybrid", ] license = "Apache-2.0" repository = "https://github.com/foyer-rs/foyer" [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.ahash] version = "0.8" [dependencies.bitflags] version = "2" [dependencies.cmsketch] version = "0.2.1" [dependencies.fastrace] version = "0.7" [dependencies.foyer-common] version = "0.12.2" [dependencies.foyer-intrusive] version = "0.12.2" [dependencies.futures] version = "0.3" [dependencies.hashbrown] version = "0.14" [dependencies.itertools] version = "0.13" [dependencies.parking_lot] version = "0.12" [dependencies.pin-project] version = "1" [dependencies.serde] version = "1" features = [ "derive", "rc", ] [dependencies.tokio] version = "0.2" features = [ "rt", "rt-multi-thread", "sync", "macros", "time", "signal", "fs", ] package = "madsim-tokio" [dependencies.tracing] version = "0.1" [dev-dependencies.anyhow] version = "1" [dev-dependencies.csv] version = "1.3.0" [dev-dependencies.moka] version = "0.12" features = ["sync"] [dev-dependencies.rand] version = "0.8" features = ["small_rng"] [dev-dependencies.test-log] version = "0.2" features = [ "trace", "color", ] default-features = false [dev-dependencies.zipf] version = "7.0.1" [features] deadlock = ["parking_lot/deadlock_detection"] sanity = ["strict_assertions"] strict_assertions = [ "foyer-common/strict_assertions", "foyer-intrusive/strict_assertions", ] tracing = [ "fastrace/enable", "foyer-common/tracing", ]