Decision Workspace
harvestype vs field_types vs struct-to-enum
Side-by-side comparison of Rust crates
45
harvestype
experimentalv1.0.3
Harvest your fields! A derive macro to expose the types of struct or enum fields as associated type aliases.
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
| harvestype | field_types | struct-to-enum | |
|---|---|---|---|
| Health Score | 45 | 52 | 47 |
| Total Downloads | 81 | 76.8K | 3.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 6 | 0 |
| Releases | 4 | 4 | 5 |
| Last Updated | 54d ago | 2898d ago | 205d ago |
| Age | 2m | 7y 11m | 7m |
Health Breakdown
harvestype
Maintenance
10
Quality
15
Community
6
Popularity
2
Documentation
12
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
| harvestype | field_types | struct-to-enum | |
|---|---|---|---|
| Version | 1.0.3 | 1.1.0 | 1.1.2 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MPL-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 9 | 4 | 1 |
| Crate Size | 22KB | 7KB | 5KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 20.0% |
| Edition | 2024 | — | 2021 |
| MSRV | 1.88.0 | — | 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 has not been updated in over a year.