Cargo Features
[dependencies]
tracing-perf = { version = "0.2.2", default-features = false, features = ["start-print-order", "minstant", "docsrs"] }
- default = start-print-order
-
The
start-print-order
feature is set by default whenevertracing-perf
is added without
somewhere in the dependency tree.default-features = false - start-print-order default = indexmap
-
The start-print-order feature enables printing total times by start order.
- minstant
-
Enable to use
minstant
as a faster drop-in replacement for std::time::Instant.Enables minstant
- docsrs = document-features
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.