Cargo Features

[dependencies]
reservoir-sampling = { version = "0.5.1", default-features = false, features = ["unweighted", "weighted"] }
default = unweighted, weighted

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

unweighted default

Affects reservoir-sampling::unweighted

weighted default

Affects reservoir-sampling::weighted