Cargo Features
foyer-bench has no features set by default.
[dependencies]
foyer-bench = { version = "0.1.4", features = ["deadlock", "tokio-console", "trace", "strict_assertions", "sanity", "jemalloc"] }
- deadlock
-
Enables deadlock of foyer, deadlock_detection of parking_lot
- tokio-console = console-subscriber
- trace = opentelemetry, opentelemetry-otlp, opentelemetry-semantic-conventions, opentelemetry_sdk, tracing-opentelemetry
- strict_assertions
-
Enables strict_assertions of foyer
- sanity
- jemalloc = tikv-jemallocator
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.