Decision Workspace
urandom vs rand_mt vs ya-rand
Side-by-side comparison of Rust crates
50
urandom
growingv0.2.2
Produce and consume randomness, to convert them to useful types and distributions, and some randomness-related algorithms.
69
rand_mt
growingv6.0.3
Reference Mersenne Twister random number generators.
60
ya-rand
growingv2.0.2
A crate for simple and fast random number generation
Core Metrics
| urandom | rand_mt | ya-rand | |
|---|---|---|---|
| Health Score | 50 | 69 | 60 |
| Total Downloads | 38.3K | 2.1M | 11.2K |
| 30d Downloads | 0 | 105.2K | 0 |
| Dependents | 60 | 159 | 10 |
| Releases | 5 | 16 | 19 |
| Last Updated | 545d ago | 105d ago | 284d ago |
| Age | 5y 11m | 6y 4m | 1y 5m |
Health Breakdown
urandom
Maintenance
5
Quality
16
Community
11
Popularity
5
Documentation
13
rand_mt
Maintenance
11
Quality
18
Community
17
Popularity
8
Documentation
15
ya-rand
Maintenance
10
Quality
21
Community
9
Popularity
5
Documentation
15
Technical Details
| urandom | rand_mt | ya-rand | |
|---|---|---|---|
| Version | 0.2.2 | 6.0.3 | 2.0.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 5 | 2 | 7 |
| Crate Size | 55KB | 55KB | 20KB |
| Features | 2 | 2 | 5 |
| Yanked % | 0.0% | 12.5% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.85.0 | 1.89 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •rand_mt leads with a health score of 69/100, but none of the options score above 80.
- •rand_mt is depended on by 159 crates — strongest ecosystem trust.
- •⚠ urandom has not been updated in over a year.
- •urandom is pre-1.0 — API may change.