Cargo Features

foyer has no features set by default.

[dependencies]
foyer = { version = "0.17.0", features = ["serde", "tracing", "nightly", "deadlock", "strict_assertions"] }
serde

Enables serde of foyer-common and foyer-storage

tracing

Enables enable of fastrace, tracing of foyer-common, foyer-memory, and foyer-storage

Affects cache::HybridCacheOptions.tracing_options, cache::HybridFetch

nightly

Enables nightly of foyer-memory and foyer-storage

deadlock

Enables deadlock of foyer-storage

strict_assertions

Enables strict_assertions of foyer-common, foyer-memory, and foyer-storage

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

fastrace tracing?