Cargo Features

[dependencies]
foyer-bench = { version = "0.13.0", default-features = false, features = ["deadlock", "tokio-console", "strict_assertions", "sanity", "jemalloc", "jeprof", "tracing", "tracing-opentelemetry"] }
default = jemalloc

The jemalloc feature is set by default whenever foyer-bench is added without default-features = false somewhere in the dependency tree.

deadlock

Enables deadlock of foyer, deadlock_detection of parking_lot

tokio-console

Enables console-subscriber

strict_assertions

Enables strict_assertions of foyer

sanity

Enables sanity of foyer

jemalloc default jeprof?

Enables tikv-jemallocator

jeprof = jemalloc

Enables profiling of optional tikv-jemallocator

tracing

Enables fastrace and fastrace-jaeger, tracing of foyer

Features from optional dependencies

tracing-opentelemetry implicit feature

Enables tracing-opentelemetry ^0.27

tracing-opentelemetry:

OpenTelemetry integration for tracing