Cargo Features
[dependencies]
pprof2 = { version = "0.13.0", default-features = false, features = ["cpp", "flamegraph", "frame-pointer", "prost-codec", "criterion"] }
- default = cpp
-
The
cpp
feature is set by default wheneverpprof2
is added without
somewhere in the dependency tree.default-features = false - cpp default
-
Enables cpp of symbolic-demangle
- flamegraph = inferno
- frame-pointer
-
Affects
backtrace::frame_pointer
… - prost-codec = prost, prost-build, prost-derive, sha2
-
Affects
pprof2::protos
…
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.
- inferno flamegraph?
- prost prost-codec?
-
Enables prost ^0.12
- prost-derive prost-codec?
-
Enables prost-derive ^0.12
- prost-build build prost-codec?
-
Enables prost-build ^0.12
- sha2 build prost-codec?
- criterion implicit feature
-
Enables criterion
criterion:
Statistics-driven micro-benchmarking library
Affects
pprof2::criterion
…