# 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.77" name = "foyer" version = "0.10.1" authors = ["MrCroxx "] description = "Hybrid cache for Rust" homepage = "https://github.com/mrcroxx/foyer" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/mrcroxx/foyer" [dependencies.ahash] version = "0.8" [dependencies.anyhow] version = "1" [dependencies.foyer-common] version = "0.8.1" [dependencies.foyer-memory] version = "0.6.1" [dependencies.foyer-storage] version = "0.9.1" [dependencies.futures] version = "0.3" [dependencies.minitrace] version = "0.6.7" [dependencies.pin-project] 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" [dev-dependencies.tempfile] version = "3" [dev-dependencies.test-log] version = "0.2" features = [ "trace", "color", ] default-features = false [features] deadlock = ["foyer-storage/deadlock"] default = [] mtrace = [ "minitrace/enable", "foyer-common/mtrace", "foyer-memory/mtrace", "foyer-storage/mtrace", ] nightly = ["foyer-storage/nightly"] sanity = [ "strict_assertions", "foyer-memory/sanity", ] strict_assertions = [ "foyer-common/strict_assertions", "foyer-memory/strict_assertions", "foyer-storage/strict_assertions", ]