Cargo Features
[dependencies]
hyperloglogplus = { version = "0.4.1", default-features = false, features = ["std", "alloc", "const-loop", "bench-units"] }
- default = std
-
The
std
feature is set by default wheneverhyperloglogplus
is added without
somewhere in the dependency tree.default-features = false - std default
-
By default std is assumed.
Affects
common::ln
… - alloc
-
Specify when building with
--no-default-features
. - const-loop
-
Specify this feature flag to enable an optimization for
count()
that is based on Rust'sconst_loop
feature.It requires a Rust compiler version 1.45.0 or higher.
Affects
common::HyperLogLogCommon.estimate_raw_plus
… - bench-units
-
Specify this feature flag to run also unit benchmarks using the nightly compiler.