Decision Workspace
field_types vs strunemix vs struct-to-enum
Side-by-side comparison of Rust crates
52
field_types
growingv1.1.0
Some derive macros for deriving enums, corresponding to the fields of structs.
48
strunemix
growingv0.6.1
Strunemix allows to build a struct with a form of its fields, by deriving enums of them
45
struct-to-enum
experimentalv1.1.2
Derive macros to generate enums from struct fields - compile-time safe field selection and dispatch
Core Metrics
| field_types | strunemix | struct-to-enum | |
|---|---|---|---|
| Health Score | 52 | 48 | 45 |
| Total Downloads | 47.8K | 6.9K | 65 |
| 30d Downloads | 1.2K | 10 | 65 |
| Dependents | 6 | 0 | 0 |
| Releases | 4 | 8 | 5 |
| Last Updated | 2702d ago | 521d ago | 9d ago |
| Age | 7y 4m | 1y 5m | 24d |
Health Breakdown
field_types
Maintenance
9
Quality
19
Community
7
Popularity
6
Documentation
11
strunemix
Maintenance
10
Quality
14
Community
6
Popularity
5
Documentation
13
struct-to-enum
Maintenance
13
Quality
13
Community
5
Popularity
2
Documentation
12
Technical Details
| field_types | strunemix | struct-to-enum | |
|---|---|---|---|
| Version | 1.1.0 | 0.6.1 | 1.1.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 4 | 5 | 1 |
| Crate Size | 7KB | 9KB | 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_types, strunemix have not been updated in over a year.
- •strunemix is pre-1.0 — API may change.