Cargo Features
[dependencies]
game-metrics = { version = "0.0.5", default-features = false, features = ["disable", "metrics", "logging", "threads"] }
- default = logging, metrics, threads
-
These default features are set whenever
game-metrics
is added without
somewhere in the dependency tree.default-features = false - disable
- metrics default = hdrhistogram, quanta
- logging default = log, quanta
- threads default = crossbeam-channel
-
Affects
logging::Logger
…
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.