Decision Workspace
mod-rand vs crypto_api_osrandom vs osrandom
Side-by-side comparison of Rust crates
60
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.
38
crypto_api_osrandom
growingv0.2.0
An interface to the OS' secure random number generator for `crypto_api`
38
osrandom
growingv0.1.1
An interface to the OS' secure random number generator
Core Metrics
| mod-rand | crypto_api_osrandom | osrandom | |
|---|---|---|---|
| Health Score | 60 | 38 | 38 |
| Total Downloads | 214 | 11.5K | 3.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 16 | 1 | 0 |
| Releases | 5 | 7 | 2 |
| Last Updated | 7d ago | 1439d ago | 542d ago |
| Age | 14d | 7y 2m | 3y 8m |
Health Breakdown
mod-rand
Maintenance
14
Quality
19
Community
9
Popularity
3
Documentation
15
crypto_api_osrandom
Maintenance
3
Quality
16
Community
4
Popularity
5
Documentation
10
osrandom
Maintenance
5
Quality
16
Community
3
Popularity
4
Documentation
10
Technical Details
| mod-rand | crypto_api_osrandom | osrandom | |
|---|---|---|---|
| Version | 1.0.0 | 0.2.0 | 0.1.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | Apache-2.0 | BSD-2-Clause OR MIT | BSD-2-Clause OR MIT |
| Dependencies | 0 | 2 | 1 |
| Crate Size | 90KB | 7KB | 7KB |
| Features | 4 | 1 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.75 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mod-rand leads with a health score of 60/100, but none of the options score above 80.
- •crypto_api_osrandom has the most downloads (11.5K), suggesting wider adoption.
- •⚠ crypto_api_osrandom, osrandom have not been updated in over a year.
- •crypto_api_osrandom, osrandom are pre-1.0 — API may change.