Decision Workspace
parse-macros vs struct-to-enum vs variants-data-struct
Side-by-side comparison of Rust crates
36
parse-macros
growingv0.1.0
Provides macros for parsing Rust constructs such as enums and structs.
47
struct-to-enum
growingv1.1.2
Derive macros to generate enums from struct fields - compile-time safe field selection and dispatch
43
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.
Core Metrics
| parse-macros | struct-to-enum | variants-data-struct | |
|---|---|---|---|
| Health Score | 36 | 47 | 43 |
| Total Downloads | 6.9K | 3.1K | 728 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 2 | 0 | 0 |
| Releases | 1 | 5 | 3 |
| Last Updated | 3814d ago | 205d ago | 351d ago |
| Age | 10y 5m | 7m | 11m |
Health Breakdown
parse-macros
Maintenance
1
Quality
15
Community
4
Popularity
5
Documentation
11
struct-to-enum
Maintenance
11
Quality
15
Community
5
Popularity
4
Documentation
12
variants-data-struct
Maintenance
9
Quality
13
Community
5
Popularity
3
Documentation
13
Technical Details
| parse-macros | struct-to-enum | variants-data-struct | |
|---|---|---|---|
| Version | 0.1.0 | 1.1.2 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 6 | 1 | 4 |
| Crate Size | 11KB | 5KB | 11KB |
| Features | 1 | 4 | 0 |
| Yanked % | 0.0% | 20.0% | 0.0% |
| Edition | — | 2021 | 2024 |
| MSRV | — | 1.71.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •struct-to-enum leads with a health score of 47/100, but none of the options score above 80.
- •parse-macros has the most downloads (6.9K), 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.