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 whenever hyperloglogplus is added without default-features = false somewhere in the dependency tree.

std default

By default std is assumed.

Enables std of serde

Affects common::ln

alloc

Specify when building with --no-default-features.

Enables alloc of serde

const-loop

Specify this feature flag to enable an optimization for count() that is based on Rust's const_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.