Cargo Features
[dependencies]
inferno = { version = "0.12.0", default-features = false, features = ["cli", "multithreaded", "nameattr", "regex", "rle-decode-fast"] }
debug = true # and uncomment this line.
- default = cli, multithreaded, nameattr
-
These default features are set whenever
inferno
is added without
somewhere in the dependency tree.default-features = false - cli default = clap, env_logger
-
Required by inferno-collapse-dtrace, inferno-collapse-ghcprof, inferno-collapse-guess, inferno-collapse-perf, inferno-collapse-recursive, inferno-collapse-sample, inferno-collapse-vsprof, inferno-collapse-vtune, inferno-diff-folded and inferno-flamegraph binaries
- multithreaded default = crossbeam-channel, crossbeam-utils, dashmap
-
Affects
common::DEFAULT_NTHREADS
,common::CollapsePrivate.collapse_multi_threaded
… - nameattr default = indexmap
-
Affects
flamegraph::Options.func_frameattrs
…
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.
- crossbeam-utils multithreaded
- crossbeam-channel multithreaded
- dashmap multithreaded
- env_logger cli
- indexmap nameattr
- clap cli
- regex cfg(any()) implicit feature
- rle-decode-fast cfg(any()) implicit feature