Decision Workspace
randerive vs rand_derive2 vs bon
Side-by-side comparison of Rust crates
45
randerive
growingv1.2.0
A simple derive macro to allow for random generation of custom structs
43
rand_derive2
growingv0.1.21
Generate customizable random types with the rand crate
76
bon
stablev3.9.1
Next-gen compile-time-checked builder generator, named function's arguments, and more!
Core Metrics
| randerive | rand_derive2 | bon | |
|---|---|---|---|
| Health Score | 45 | 43 | 76 |
| Total Downloads | 4.6K | 125.6K | 26.3M |
| 30d Downloads | 30 | 6.5K | 4.6M |
| Dependents | 6 | 42 | 4.8K |
| Releases | 3 | 21 | 46 |
| Last Updated | 1547d ago | 1013d ago | 14d ago |
| Age | 4y 2m | 5y 7m | 1y 9m |
Health Breakdown
randerive
Maintenance
4
Quality
20
Community
7
Popularity
4
Documentation
10
rand_derive2
Maintenance
6
Quality
14
Community
7
Popularity
6
Documentation
10
bon
Maintenance
18
Quality
21
Community
17
Popularity
8
Documentation
12
Technical Details
| randerive | rand_derive2 | bon | |
|---|---|---|---|
| Version | 1.2.0 | 0.1.21 | 3.9.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 4 | 6 |
| Crate Size | 2KB | 11KB | 67KB |
| Features | 0 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.59.0 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •bon leads with a health score of 76/100, but none of the options score above 80.
- •bon is depended on by 4.8K crates — strongest ecosystem trust.
- •⚠ randerive, rand_derive2 have not been updated in over a year.
- •rand_derive2 is pre-1.0 — API may change.