# 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-bench" version = "0.12.2" authors = ["MrCroxx "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "bench tool 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" [[bin]] name = "foyer-bench" path = "src/main.rs" [dependencies.anyhow] version = "1" [dependencies.bytesize] version = "2" package = "foyer-bytesize" [dependencies.clap] version = "4" features = ["derive"] [dependencies.console-subscriber] version = "0.4" optional = true [dependencies.fastrace] version = "0.7" optional = true [dependencies.fastrace-jaeger] version = "0.7" optional = true [dependencies.foyer] version = "0.12.2" [dependencies.futures] version = "0.3" [dependencies.hdrhistogram] version = "7" [dependencies.humantime] version = "2" [dependencies.itertools] version = "0.13" [dependencies.metrics] version = "0.23" [dependencies.metrics-exporter-prometheus] version = "0.15" [dependencies.parking_lot] version = "0.12" [dependencies.rand] version = "0.8.5" [dependencies.serde] version = "1" features = [ "derive", "rc", ] [dependencies.serde_bytes] version = "0.11.15" [dependencies.tokio] version = "0.2" features = [ "rt", "rt-multi-thread", "sync", "macros", "time", "signal", "fs", ] package = "madsim-tokio" [dependencies.tracing] version = "0.1" [dependencies.tracing-opentelemetry] version = "0.26" optional = true [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dependencies.zipf] version = "7" [features] deadlock = [ "parking_lot/deadlock_detection", "foyer/deadlock", ] default = ["jemalloc"] jemalloc = ["dep:tikv-jemallocator"] jeprof = [ "jemalloc", "tikv-jemallocator?/profiling", ] sanity = ["foyer/sanity"] strict_assertions = ["foyer/strict_assertions"] tokio-console = ["dep:console-subscriber"] tracing = [ "foyer/tracing", "dep:fastrace-jaeger", "dep:fastrace", ] [target.'cfg(not(target_env = "msvc"))'.dependencies.tikv-jemallocator] version = "0.6" optional = true