Cargo Features

foyer-memory has no features set by default.

[dependencies]
foyer-memory = { version = "0.13.1", features = ["nightly", "deadlock", "sanity", "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

sanity

FIXME: remove sanity feature

strict_assertions

Enables strict_assertions of foyer-common

tracing

Enables enable of fastrace, tracing of foyer-common