Decision Workspace
field vs field_types vs struct-to-enum
Side-by-side comparison of Rust crates
41
field
growingv0.1.0
Statically-verified struct field names as strings.
52
field_types
growingv1.1.0
Some derive macros for deriving enums, corresponding to the fields of structs.
47
struct-to-enum
growingv1.1.2
Derive macros to generate enums from struct fields - compile-time safe field selection and dispatch
Core Metrics
| field | field_types | struct-to-enum | |
|---|---|---|---|
| Health Score | 41 | 52 | 47 |
| Total Downloads | 38.4K | 76.8K | 3.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 6 | 0 |
| Releases | 1 | 4 | 5 |
| Last Updated | 1192d ago | 2898d ago | 205d ago |
| Age | 3y 3m | 7y 11m | 7m |
Health Breakdown
field
Maintenance
1
Quality
16
Community
6
Popularity
5
Documentation
13
field_types
Maintenance
9
Quality
19
Community
7
Popularity
6
Documentation
11
struct-to-enum
Maintenance
11
Quality
15
Community
5
Popularity
4
Documentation
12
Technical Details
| field | field_types | struct-to-enum | |
|---|---|---|---|
| Version | 0.1.0 | 1.1.0 | 1.1.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 4 | 1 |
| Crate Size | 7KB | 7KB | 5KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 20.0% |
| Edition | 2021 | — | 2021 |
| MSRV | — | — | 1.71.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •field_types leads with a health score of 52/100, but none of the options score above 80.
- •⚠ field, field_types have not been updated in over a year.
- •field is pre-1.0 — API may change.