Decision Workspace
enum_variant_macros vs gratte vs auto_enums_derive
Side-by-side comparison of Rust crates
42
enum_variant_macros
growingv0.3.0
Macros to generate From & TryFrom for enums
68
gratte
stablev3.0.1
Helpful macros for working with enums and strings; forked from strum
67
auto_enums_derive
growingv0.7.12
An internal crate to support auto_enums - do not use directly
Core Metrics
| enum_variant_macros | gratte | auto_enums_derive | |
|---|---|---|---|
| Health Score | 42 | 68 | 67 |
| Total Downloads | 21.9K | 12.5K | 8.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 18 | 21 | 48 |
| Releases | 3 | 9 | 48 |
| Last Updated | 1280d ago | 19d ago | 2d ago |
| Age | 4y 7m | 1y 6m | 7y 10m |
Health Breakdown
enum_variant_macros
Maintenance
4
Quality
15
Community
8
Popularity
5
Documentation
10
gratte
Maintenance
17
Quality
21
Community
10
Popularity
5
Documentation
15
auto_enums_derive
Maintenance
19
Quality
18
Community
10
Popularity
8
Documentation
12
Technical Details
| enum_variant_macros | gratte | auto_enums_derive | |
|---|---|---|---|
| Version | 0.3.0 | 3.0.1 | 0.7.12 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | Apache-2.0 OR MIT |
| Dependencies | 3 | 2 | 5 |
| Crate Size | 8KB | 9KB | 14KB |
| Features | 0 | 4 | 19 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.85.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •gratte leads with a health score of 68/100, but none of the options score above 80.
- •auto_enums_derive has the most downloads (8.2M), suggesting wider adoption.
- •⚠ enum_variant_macros has not been updated in over a year.
- •enum_variant_macros, auto_enums_derive are pre-1.0 — API may change.