Cargo Features

foyer-memory has no features set by default.

[dependencies]
foyer-memory = { version = "0.15.3", features = ["nightly", "deadlock", "strict_assertions", "tracing"] }
nightly

Enables nightly of hashbrown

hashbrown:

Enables use of nightly features. This is only guaranteed to work on the latest version of nightly Rust.

deadlock

Enables deadlock_detection of parking_lot

strict_assertions

Enables strict_assertions of foyer-common

tracing

Enables enable of fastrace, tracing of foyer-common

foyer-memory has 4 features without comments.