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