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
somewhere in the dependency tree.default-features = false - 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.