Cargo Features

foyer-storage has no features set by default.

[dependencies]
foyer-storage = { version = "0.17.1", features = ["serde", "tracing", "nightly", "deadlock", "strict_assertions", "test_utils"] }
serde

Enables serde

tracing

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

nightly

Enables nightly of allocator-api2 ^0.2

TODO(MrCroxx): Remove this after allocator_api is stable.

deadlock

Enables deadlock_detection of parking_lot

strict_assertions

Enables strict_assertions of foyer-common and foyer-memory

test_utils

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?