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
somewhere in the dependency tree.default-features = false - unweighted default
-
Affects
reservoir-sampling::unweighted
… - weighted default
-
Affects
reservoir-sampling::weighted
…