Cargo Features

[dependencies]
approximate = { version = "0.1.0", default-features = false, features = ["nostd", "std", "rand"] }
default = rand, std

These default features are set whenever approximate is added without default-features = false somewhere in the dependency tree.

nostd

Enables atomic

std default

Enables std of optional atomic and optional rand

rand:

Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.

Affects approximate::Countable.thread_rng

rand default

Enables rand

Affects approximate::Countable.thread_rng