Decision Workspace
struct_field vs field_access vs field_types
Side-by-side comparison of Rust crates
39
struct_field
growingv0.1.6
Derive macros for generating each field in a struct
57
field_access
growingv0.1.12
Dynamically access struct fields
52
field_types
growingv1.1.0
Some derive macros for deriving enums, corresponding to the fields of structs.
Core Metrics
| struct_field | field_access | field_types | |
|---|---|---|---|
| Health Score | 39 | 57 | 52 |
| Total Downloads | 9.9K | 30.0K | 47.8K |
| 30d Downloads | 18 | 382 | 1.0K |
| Dependents | 0 | 55 | 6 |
| Releases | 7 | 14 | 4 |
| Last Updated | 1468d ago | 174d ago | 2702d ago |
| Age | 4y 7m | 2y 5m | 7y 4m |
Health Breakdown
struct_field
Maintenance
4
Quality
14
Community
4
Popularity
5
Documentation
12
field_access
Maintenance
10
Quality
17
Community
10
Popularity
5
Documentation
15
field_types
Maintenance
9
Quality
19
Community
7
Popularity
6
Documentation
11
Technical Details
| struct_field | field_access | field_types | |
|---|---|---|---|
| Version | 0.1.6 | 0.1.12 | 1.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 3 | 4 |
| Crate Size | 3KB | 12KB | 7KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | — |
| MSRV | — | 1.65.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •field_access leads with a health score of 57/100, but none of the options score above 80.
- •field_types has the most downloads (47.8K), suggesting wider adoption.
- •⚠ struct_field, field_types have not been updated in over a year.
- •struct_field, field_access are pre-1.0 — API may change.