Decision Workspace
randerive vs rand_derive2 vs derive_arbitrary
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
78
derive_arbitrary
stablev1.5.0
Derives arbitrary traits
Core Metrics
| randerive | rand_derive2 | derive_arbitrary | |
|---|---|---|---|
| Health Score | 45 | 43 | 78 |
| Total Downloads | 4.8K | 143.6K | 124.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 43 | 520 |
| Releases | 3 | 21 | 34 |
| Last Updated | 1743d ago | 1210d ago | 3d ago |
| Age | 4y 9m | 6y 1m | 7y 12m |
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
derive_arbitrary
Maintenance
18
Quality
20
Community
17
Popularity
8
Documentation
15
Technical Details
| randerive | rand_derive2 | derive_arbitrary | |
|---|---|---|---|
| Version | 1.2.0 | 0.1.21 | 1.5.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 4 | 3 |
| Crate Size | 2KB | 11KB | 12KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.71.0 |
| Owners | 1 | 1 | 4 (team) |
Links
Quick Verdict
- •derive_arbitrary leads with a health score of 78/100, but none of the options score above 80.
- •derive_arbitrary is depended on by 520 crates — strongest ecosystem trust.
- •⚠ randerive, rand_derive2 have not been updated in over a year.
- •rand_derive2 is pre-1.0 — API may change.