Decision Workspace
stochastic_universal_sampling vs probability vs histogram-sampler
Side-by-side comparison of Rust crates
46
stochastic_universal_sampling
growingv1.1.1
The stochastic universal sampling algorithm for the rand crate.
48
probability
growingv0.20.3
The package provides a probability-theory toolbox.
47
histogram-sampler
growingv0.5.0
Sampling from a distribution given by a histogram
Core Metrics
| stochastic_universal_sampling | probability | histogram-sampler | |
|---|---|---|---|
| Health Score | 46 | 48 | 47 |
| Total Downloads | 3.4K | 1.4M | 50.4K |
| 30d Downloads | 41 | 18.3K | 108 |
| Dependents | 2 | 335 | 61 |
| Releases | 4 | 66 | 9 |
| Last Updated | 339d ago | 1189d ago | 1743d ago |
| Age | 1y 4m | 11y 4m | 8y |
Health Breakdown
stochastic_universal_sampling
Maintenance
6
Quality
19
Community
5
Popularity
4
Documentation
12
probability
Maintenance
6
Quality
11
Community
13
Popularity
7
Documentation
11
histogram-sampler
Maintenance
4
Quality
15
Community
11
Popularity
6
Documentation
11
Technical Details
| stochastic_universal_sampling | probability | histogram-sampler | |
|---|---|---|---|
| Version | 1.1.1 | 0.20.3 | 0.5.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT-0 | Apache-2.0/MIT | MIT/Apache-2.0 |
| Dependencies | 1 | 4 | 1 |
| Crate Size | 5KB | 30KB | 11KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 6.1% | 0.0% |
| Edition | 2021 | — | — |
| MSRV | 1.66.1 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •probability leads with a health score of 48/100, but none of the options score above 80.
- •probability is depended on by 335 crates — strongest ecosystem trust.
- •⚠ probability, histogram-sampler have not been updated in over a year.
- •probability, histogram-sampler are pre-1.0 — API may change.