[package]
name = "approximate"
version = "0.1.0"
edition = "2021"
description = "Scalable Approximate Counters"
license = "LGPL-3.0-only"
[dependencies]
atomic = { version = "0.6.0", optional = true }
rand = { version = "0.9.0", optional = true, no-default-features = true }
[dev-dependencies]
indicatif = "0.17.11"
rayon = "1.8.1"
[features]
default = ["std", "rand"]
std = ["atomic?/std", "rand?/std"]
rand = ["dep:rand"]
nostd = ["dep:atomic"]
[[example]]
name = "test"
[[example]]
name = "distribution"
[[example]]
name = "nostd-test"
required-features = ["nostd", "rand", "rand/std"]