Decision Workspace
crypto_api_osrandom vs osrandom vs mod-rand
Side-by-side comparison of Rust crates
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
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.
Core Metrics
| crypto_api_osrandom | osrandom | mod-rand | |
|---|---|---|---|
| Health Score | 38 | 38 | 60 |
| Total Downloads | 11.5K | 3.5K | 214 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 0 | 16 |
| Releases | 7 | 2 | 5 |
| Last Updated | 1439d ago | 542d ago | 7d ago |
| Age | 7y 2m | 3y 8m | 14d |
Health Breakdown
crypto_api_osrandom
Maintenance
3
Quality
16
Community
4
Popularity
5
Documentation
10
osrandom
Maintenance
5
Quality
16
Community
3
Popularity
4
Documentation
10
mod-rand
Maintenance
14
Quality
19
Community
9
Popularity
3
Documentation
15
Technical Details
| crypto_api_osrandom | osrandom | mod-rand | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.1 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | BSD-2-Clause OR MIT | BSD-2-Clause OR MIT | Apache-2.0 |
| Dependencies | 2 | 1 | 0 |
| Crate Size | 7KB | 7KB | 90KB |
| Features | 1 | 1 | 4 |
| 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.