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

Enables sanity of foyer

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.

console-subscriber tokio-console?

Enables console-subscriber ^0.2

opentelemetry trace?
opentelemetry-otlp trace?
opentelemetry-semantic-conventions trace?
opentelemetry_sdk trace?
tracing-opentelemetry trace?
tikv-jemallocator not msvc jemalloc?