Decision Workspace
getrandom_or_panic vs mc-rand vs clock-rand
Side-by-side comparison of Rust crates
45
getrandom_or_panic
growingv0.0.3
Implements a RngCore which panics unless getrandom exists
55
mc-rand
growingv1.1.0
A platform abstraction layer providing a cryptographic RNG, `McRng`
53
clock-rand
experimentalv1.0.3
Next-generation random number generation with blockchain-aware RNGs, fork detection, and cryptographic security
Core Metrics
| getrandom_or_panic | mc-rand | clock-rand | |
|---|---|---|---|
| Health Score | 45 | 55 | 53 |
| Total Downloads | 6.0M | 62.1K | 310 |
| 30d Downloads | 295.5K | 491 | 75 |
| Dependents | 8 | 1 | 9 |
| Releases | 3 | 2 | 4 |
| Last Updated | 857d ago | 1096d ago | 68d ago |
| Age | 2y 4m | 3y | 2m |
Health Breakdown
getrandom_or_panic
Maintenance
5
Quality
11
Community
8
Popularity
8
Documentation
13
mc-rand
Maintenance
4
Quality
21
Community
12
Popularity
6
Documentation
12
clock-rand
Maintenance
10
Quality
18
Community
9
Popularity
3
Documentation
13
Technical Details
| getrandom_or_panic | mc-rand | clock-rand | |
|---|---|---|---|
| Version | 0.0.3 | 1.1.0 | 1.0.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | BSD-3-Clause | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 6 | 17 |
| Crate Size | 2KB | 18KB | 54KB |
| Features | 4 | 2 | 15 |
| Yanked % | 33.3% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.68 | — |
| Owners | 1 | 5 (team) | 1 |
Links
Quick Verdict
- •mc-rand leads with a health score of 55/100, but none of the options score above 80.
- •getrandom_or_panic has the most downloads (6.0M), suggesting wider adoption.
- •⚠ getrandom_or_panic, mc-rand have not been updated in over a year.
- •getrandom_or_panic is pre-1.0 — API may change.