Cargo Features

[dependencies]
hala-pprof = { version = "0.1.6", default-features = false, features = ["cpu_profiler", "gperf", "heap_profiler", "leveldb", "prolog"] }
default = cpu_profiler, gperf, heap_profiler, prolog

These default features are set whenever hala-pprof is added without default-features = false somewhere in the dependency tree.

cpu_profiler default

Affects report::CpuProfilerReport

gperf default = protobuf

Affects report::gperf

heap_profiler default

Affects report::HeapProfilerReport

leveldb = bson, hala-leveldb
prolog default = log

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.

bson leveldb?
hala-leveldb leveldb?
log prolog
protobuf gperf