Decision Workspace
parse-macros vs variants-data-struct vs struct-to-enum
Side-by-side comparison of Rust crates
36
parse-macros
growingv0.1.0
Provides macros for parsing Rust constructs such as enums and structs.
46
variants-data-struct
experimentalv0.3.0
A derive macro to convert enums into a struct where the variants are members and types are that that of variants data.
45
struct-to-enum
experimentalv1.1.2
Derive macros to generate enums from struct fields - compile-time safe field selection and dispatch
Core Metrics
| parse-macros | variants-data-struct | struct-to-enum | |
|---|---|---|---|
| Health Score | 36 | 46 | 45 |
| Total Downloads | 6.7K | 622 | 65 |
| 30d Downloads | 35 | 19 | 65 |
| Dependents | 2 | 0 | 0 |
| Releases | 1 | 3 | 5 |
| Last Updated | 3617d ago | 155d ago | 9d ago |
| Age | 9y 11m | 5m | 24d |
Health Breakdown
parse-macros
Maintenance
1
Quality
15
Community
4
Popularity
5
Documentation
11
variants-data-struct
Maintenance
12
Quality
13
Community
5
Popularity
3
Documentation
13
struct-to-enum
Maintenance
13
Quality
13
Community
5
Popularity
2
Documentation
12
Technical Details
| parse-macros | variants-data-struct | struct-to-enum | |
|---|---|---|---|
| Version | 0.1.0 | 0.3.0 | 1.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 6 | 4 | 1 |
| Crate Size | 11KB | 11KB | 5KB |
| Features | 1 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 20.0% |
| Edition | — | 2024 | 2021 |
| MSRV | — | — | 1.71.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •variants-data-struct leads with a health score of 46/100, but none of the options score above 80.
- •parse-macros has the most downloads (6.7K), suggesting wider adoption.
- •⚠ parse-macros has not been updated in over a year.
- •parse-macros, variants-data-struct are pre-1.0 — API may change.