Decision Workspace
php_mt vs rand vs rand_mt
Side-by-side comparison of Rust crates
38
php_mt
experimentalv0.1.0
Bit-for-bit compatible implementation of PHP 7.1+ MT19937 (mt_rand)
75
rand
growingv0.10.3
Random number generators and other randomness functionality.
75
rand_mt
stablev6.1.0
Reference Mersenne Twister random number generators.
Core Metrics
| php_mt | rand | rand_mt | |
|---|---|---|---|
| Health Score | 38 | 75 | 75 |
| Total Downloads | 29 | 1.9B | 2.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 421.1K | 168 |
| Releases | 1 | 94 | 17 |
| Last Updated | 222d ago | 20d ago | 6d ago |
| Age | 7m | 11y 8m | 6y 6m |
Health Breakdown
php_mt
Maintenance
4
Quality
15
Community
5
Popularity
2
Documentation
12
rand
Maintenance
18
Quality
15
Community
19
Popularity
8
Documentation
15
rand_mt
Maintenance
17
Quality
18
Community
17
Popularity
8
Documentation
15
Technical Details
| php_mt | rand | rand_mt | |
|---|---|---|---|
| Version | 0.1.0 | 0.10.3 | 6.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 8 | 2 |
| Crate Size | 5KB | 106KB | 54KB |
| Features | 0 | 11 | 2 |
| Yanked % | 0.0% | 2.1% | 11.8% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.93 | 1.85 | 1.88.0 |
| Owners | 1 | 2 (team) | 2 (team) |
Links
Quick Verdict
- •rand leads with a health score of 75/100, but none of the options score above 80.
- •rand is depended on by 421.1K crates — strongest ecosystem trust.
- •php_mt, rand are pre-1.0 — API may change.