Decision Workspace
random-number-macro-impl vs random-number vs random-integer
Side-by-side comparison of Rust crates
48
random-number-macro-impl
growingv0.1.8
Generate random numbers quickly.
49
random-number
growingv0.1.9
Generate random numbers quickly.
43
random-integer
growingv1.2.1
Generate a random integer between two integer numbers (including the two integer numbers).
Core Metrics
| random-number-macro-impl | random-number | random-integer | |
|---|---|---|---|
| Health Score | 48 | 49 | 43 |
| Total Downloads | 1.5M | 1.5M | 35.1K |
| 30d Downloads | 27.5K | 27.4K | 219 |
| Dependents | 10 | 66 | 11 |
| Releases | 9 | 10 | 10 |
| Last Updated | 522d ago | 522d ago | 2117d ago |
| Age | 5y 9m | 5y 9m | 7y 7m |
Health Breakdown
random-number-macro-impl
Maintenance
6
Quality
15
Community
8
Popularity
7
Documentation
12
random-number
Maintenance
5
Quality
15
Community
10
Popularity
7
Documentation
12
random-integer
Maintenance
5
Quality
16
Community
8
Popularity
5
Documentation
9
Technical Details
| random-number-macro-impl | random-number | random-integer | |
|---|---|---|---|
| Version | 0.1.8 | 0.1.9 | 1.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 3 | 3 | 1 |
| Crate Size | 3KB | 5KB | 4KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 10.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | 1.61 | 1.61 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •random-number leads with a health score of 49/100, but none of the options score above 80.
- •random-number-macro-impl has the most downloads (1.5M), suggesting wider adoption.
- •⚠ random-number-macro-impl, random-number, random-integer have not been updated in over a year.
- •random-number-macro-impl, random-number are pre-1.0 — API may change.