Decision Workspace
coc vs struct-to-enum vs fieldx_plus_macros
Side-by-side comparison of Rust crates
42
coc
growingv0.1.1
A useful macro collections for struct
47
struct-to-enum
growingv1.1.2
Derive macros to generate enums from struct fields - compile-time safe field selection and dispatch
46
fieldx_plus_macros
growingv0.1.12
Heler macros for fieldx_plus crate
Core Metrics
| coc | struct-to-enum | fieldx_plus_macros | |
|---|---|---|---|
| Health Score | 42 | 47 | 46 |
| Total Downloads | 1.4K | 3.1K | 8.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 12 |
| Releases | 2 | 5 | 12 |
| Last Updated | 560d ago | 205d ago | 456d ago |
| Age | 1y 6m | 7m | 2y |
Health Breakdown
coc
Maintenance
5
Quality
15
Community
6
Popularity
4
Documentation
12
struct-to-enum
Maintenance
11
Quality
15
Community
5
Popularity
4
Documentation
12
fieldx_plus_macros
Maintenance
8
Quality
16
Community
9
Popularity
5
Documentation
8
Technical Details
| coc | struct-to-enum | fieldx_plus_macros | |
|---|---|---|---|
| Version | 0.1.1 | 1.1.2 | 0.1.12 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | non-standard |
| Dependencies | 2 | 1 | 8 |
| Crate Size | 3KB | 5KB | 15KB |
| Features | 0 | 4 | 9 |
| Yanked % | 0.0% | 20.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.85.0 | 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.
- •fieldx_plus_macros has the most downloads (8.7K), suggesting wider adoption.
- •⚠ coc, fieldx_plus_macros have not been updated in over a year.
- •coc, fieldx_plus_macros are pre-1.0 — API may change.