Decision Workspace
oorandom vs rand_pcg vs mod-rand
Side-by-side comparison of Rust crates
56
oorandom
growingv11.1.5
A tiny, robust PRNG implementation.
70
rand_pcg
growingv0.10.2
Selected PCG random number generators
58
mod-rand
experimentalv1.0.0
Tiered randomness for Rust: fast PRNG, process-unique seeds, and OS-backed cryptographic random — plus bounded ranges, strings, tokens, shuffle, sample, and weighted choice. Zero dependencies, MSRV 1.75.
Core Metrics
| oorandom | rand_pcg | mod-rand | |
|---|---|---|---|
| Health Score | 56 | 70 | 58 |
| Total Downloads | 210.7M | 130.5M | 270 |
| 30d Downloads | 11.4M | 5.2M | 0 |
| Dependents | 2.0K | 3.8K | 16 |
| Releases | 17 | 20 | 5 |
| Last Updated | 493d ago | 93d ago | 56d ago |
| Age | 7y | 7y 9m | 2m |
Health Breakdown
oorandom
Maintenance
5
Quality
19
Community
15
Popularity
8
Documentation
9
rand_pcg
Maintenance
11
Quality
16
Community
20
Popularity
8
Documentation
15
mod-rand
Maintenance
11
Quality
20
Community
9
Popularity
3
Documentation
15
Technical Details
| oorandom | rand_pcg | mod-rand | |
|---|---|---|---|
| Version | 11.1.5 | 0.10.2 | 1.0.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 4 | 3 | 0 |
| Crate Size | 24KB | 15KB | 90KB |
| Features | 0 | 1 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | 1.85 | 1.75 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •rand_pcg leads with a health score of 70/100, but none of the options score above 80.
- •oorandom has the most downloads (210.7M), suggesting wider adoption.
- •rand_pcg is depended on by 3.8K crates — strongest ecosystem trust.
- •⚠ oorandom has not been updated in over a year.
- •rand_pcg is pre-1.0 — API may change.