# 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" version = "0.12.2" authors = ["MrCroxx "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "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" path = "src/lib.rs" [dependencies.ahash] version = "0.8" [dependencies.anyhow] version = "1" [dependencies.fastrace] version = "0.7" [dependencies.foyer-common] version = "0.12.2" [dependencies.foyer-memory] version = "0.12.2" [dependencies.foyer-storage] version = "0.12.2" [dependencies.futures] version = "0.3" [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 = [] nightly = ["foyer-storage/nightly"] sanity = [ "strict_assertions", "foyer-memory/sanity", ] strict_assertions = [ "foyer-common/strict_assertions", "foyer-memory/strict_assertions", "foyer-storage/strict_assertions", ] tracing = [ "fastrace/enable", "foyer-common/tracing", "foyer-memory/tracing", "foyer-storage/tracing", ]