Cargo Features
[dependencies]
hdrhistogram = { version = "7.5.4", default-features = false, features = ["bench_private", "serialization", "sync"] }
- bench_private
-
for enabling nightly-only feature(test) on the main crate to allow benchmarking private code
- default = serialization, sync
-
These default features are set whenever
hdrhistogram
is added without
somewhere in the dependency tree.default-features = false - serialization default = base64, flate2, nom
-
Affects
hdrhistogram::serialization
… - sync default = crossbeam-channel
-
Affects
hdrhistogram::sync
…
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.