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 default-features = false somewhere in the dependency tree.

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.

crossbeam-channel threads

Enables crossbeam-channel ^0.4

hdrhistogram metrics
quanta logging metrics

Enables quanta ^0.3

log logging