# 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-common" version = "0.12.2" authors = ["MrCroxx "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "common components 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_common" path = "src/lib.rs" [dependencies.bytes] version = "1" [dependencies.cfg-if] version = "1" [dependencies.crossbeam] version = "0.8" [dependencies.fastrace] version = "0.7" [dependencies.futures] version = "0.3" [dependencies.hashbrown] version = "0.14" [dependencies.itertools] version = "0.13" [dependencies.metrics] version = "0.23" [dependencies.parking_lot] version = "0.12" features = ["arc_lock"] [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" [dev-dependencies.futures] version = "0.3" [dev-dependencies.rand] version = "0.8.5" [features] strict_assertions = [] tracing = ["fastrace/enable"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(madsim)"]