Cargo Features
[dependencies]
pprof = { version = "0.14.0", default-features = false, features = ["cpp", "flamegraph", "frame-pointer", "prost-codec", "protobuf-codec", "criterion"] }
- default = cpp
-
The
cpp
feature is set by default wheneverpprof
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
pprof::protos
… - protobuf-codec = protobuf, protobuf-codegen-pure
-
Affects
pprof::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?
-
Enables inferno ^0.11
- prost prost-codec?
-
Enables prost ^0.12
- prost-derive prost-codec?
-
Enables prost-derive ^0.12
- protobuf protobuf-codec?
-
Enables protobuf ^2.0
- prost-build build prost-codec?
-
Enables prost-build ^0.12
- sha2 build prost-codec?
- protobuf-codegen-pure build protobuf-codec?
- criterion implicit feature
-
Enables criterion
criterion:
Statistics-driven micro-benchmarking library
Affects
pprof::criterion
…