Decision Workspace
mod-rand vs tempest-rng vs crypto_api_osrandom
Side-by-side comparison of Rust crates
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.
45
tempest-rng
experimentalv1.0.0
Tempest v3: cryptographic-grade CSPRNG (2^128 security, 17.7 Gbit/s)
38
crypto_api_osrandom
growingv0.2.0
An interface to the OS' secure random number generator for `crypto_api`
Core Metrics
| mod-rand | tempest-rng | crypto_api_osrandom | |
|---|---|---|---|
| Health Score | 59 | 45 | 38 |
| Total Downloads | 630 | 25 | 11.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 18 | 0 | 1 |
| Releases | 5 | 1 | 7 |
| Last Updated | 144d ago | 104d ago | 1576d ago |
| Age | 5m | 3m | 7y 7m |
Health Breakdown
mod-rand
Maintenance
12
Quality
20
Community
9
Popularity
3
Documentation
15
tempest-rng
Maintenance
8
Quality
19
Community
6
Popularity
2
Documentation
10
crypto_api_osrandom
Maintenance
3
Quality
16
Community
4
Popularity
5
Documentation
10
Technical Details
| mod-rand | tempest-rng | crypto_api_osrandom | |
|---|---|---|---|
| Version | 1.0.0 | 1.0.0 | 0.2.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT | BSD-2-Clause OR MIT |
| Dependencies | 0 | 3 | 2 |
| Crate Size | 90KB | 8KB | 7KB |
| Features | 4 | 3 | 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 59/100, but none of the options score above 80.
- •crypto_api_osrandom has the most downloads (11.7K), suggesting wider adoption.
- •⚠ crypto_api_osrandom has not been updated in over a year.
- •crypto_api_osrandom is pre-1.0 — API may change.