Decision Workspace
variant-builder-macro vs error-tree vs strum
Side-by-side comparison of Rust crates
41
variant-builder-macro
growingv0.3.0
This crate gives us the VariantBuider proc macro which can be used to streamline creting an enum from wrapping variants each using the builder pattern.
47
error-tree
growingv0.6.0
This crate let's us use the `error_tree!` proc macro for ergonomic error hierarchy definition
71
strum
growingv0.28.0
Helpful macros for working with enums and strings
Core Metrics
| variant-builder-macro | error-tree | strum | |
|---|---|---|---|
| Health Score | 41 | 47 | 71 |
| Total Downloads | 2.2K | 45.1K | 394.9M |
| 30d Downloads | 23 | 3.9K | 32.0M |
| Dependents | 1 | 100 | 57.9K |
| Releases | 3 | 7 | 40 |
| Last Updated | 270d ago | 480d ago | 33d ago |
| Age | 1y 3m | 1y 10m | 9y 1m |
Health Breakdown
variant-builder-macro
Maintenance
8
Quality
13
Community
6
Popularity
4
Documentation
10
error-tree
Maintenance
8
Quality
13
Community
10
Popularity
6
Documentation
10
strum
Maintenance
17
Quality
16
Community
15
Popularity
8
Documentation
15
Technical Details
| variant-builder-macro | error-tree | strum | |
|---|---|---|---|
| Version | 0.3.0 | 0.6.0 | 0.28.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 8 | 9 | 2 |
| Crate Size | 15KB | 20KB | 9KB |
| Features | 0 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 2.5% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.71 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •strum leads with a health score of 71/100, but none of the options score above 80.
- •strum is depended on by 57.9K crates — strongest ecosystem trust.
- •⚠ error-tree has not been updated in over a year.