# 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-storage" version = "0.12.2" authors = ["MrCroxx "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "storage engine 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_storage" path = "src/lib.rs" [[test]] name = "storage_test" path = "tests/storage_test.rs" [dependencies.ahash] version = "0.8" [dependencies.allocator-api2] version = "0.2" [dependencies.anyhow] version = "1.0" [dependencies.array-util] version = "1" [dependencies.async-channel] version = "2" [dependencies.auto_enums] version = "0.8" features = ["futures03"] [dependencies.bincode] version = "1" [dependencies.bitflags] version = "2.3.1" [dependencies.bytes] version = "1" [dependencies.clap] version = "4" features = ["derive"] [dependencies.either] version = "1" [dependencies.fastrace] version = "0.7" [dependencies.flume] version = "0.11" [dependencies.foyer-common] version = "0.12.2" [dependencies.foyer-memory] version = "0.12.2" [dependencies.fs4] version = "0.9.1" [dependencies.futures] version = "0.3" [dependencies.hashbrown] version = "0.14" [dependencies.itertools] version = "0.13" [dependencies.libc] version = "0.2" [dependencies.lz4] version = "1.24" [dependencies.ordered_hash_map] version = "0.4" [dependencies.parking_lot] version = "0.12" features = ["arc_lock"] [dependencies.paste] version = "1" [dependencies.pin-project] version = "1" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1" features = [ "derive", "rc", ] [dependencies.thiserror] version = "1" [dependencies.tokio] version = "0.2" features = [ "rt", "rt-multi-thread", "sync", "macros", "time", "signal", "fs", ] package = "madsim-tokio" [dependencies.tracing] version = "0.1" [dependencies.twox-hash] version = "1" [dependencies.zstd] version = "0.13" [dev-dependencies.bytesize] version = "2" package = "foyer-bytesize" [dev-dependencies.tempfile] version = "3" [dev-dependencies.test-log] version = "0.2" features = [ "trace", "color", ] default-features = false [features] deadlock = ["parking_lot/deadlock_detection"] default = [] nightly = ["allocator-api2/nightly"] strict_assertions = [ "foyer-common/strict_assertions", "foyer-memory/strict_assertions", ] tracing = [ "fastrace/enable", "foyer-common/tracing", "foyer-memory/tracing", ] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(madsim)"]