Decision Workspace
rand-float vs mod-rand vs star_rng
Side-by-side comparison of Rust crates
46
rand-float
experimentalv0.2.2
Techniques for converting streams of random bits into floating-point numbers distributed as a uniform real in the unit interval
59
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.
58
star_rng
growingv0.3.0
opinionated PRNG for easier fuzz testing
Core Metrics
| rand-float | mod-rand | star_rng | |
|---|---|---|---|
| Health Score | 46 | 59 | 58 |
| Total Downloads | 101 | 630 | 55.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 18 | 1 |
| Releases | 6 | 5 | 3 |
| Last Updated | 79d ago | 144d ago | 44d ago |
| Age | 2m | 5m | 2y 6m |
Health Breakdown
rand-float
Maintenance
12
Quality
14
Community
3
Popularity
2
Documentation
15
mod-rand
Maintenance
12
Quality
20
Community
9
Popularity
3
Documentation
15
star_rng
Maintenance
14
Quality
16
Community
7
Popularity
6
Documentation
15
Technical Details
| rand-float | mod-rand | star_rng | |
|---|---|---|---|
| Version | 0.2.2 | 1.0.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | (Apache-2.0 OR MIT) AND BSD-2-Clause AND MIT | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 0 | 2 |
| Crate Size | 554KB | 90KB | 18KB |
| Features | 2 | 4 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.85 | 1.75 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mod-rand leads with a health score of 59/100, but none of the options score above 80.
- •star_rng has the most downloads (55.2K), suggesting wider adoption.
- •rand-float, star_rng are pre-1.0 — API may change.