Decision Workspace
struct_field_names vs field_types vs field
Side-by-side comparison of Rust crates
43
struct_field_names
growingv0.2.1
Derive macros for generating the name of each field in a struct and each variant name in an enum as `&'static str`
52
field_types
growingv1.1.0
Some derive macros for deriving enums, corresponding to the fields of structs.
41
field
growingv0.1.0
Statically-verified struct field names as strings.
Core Metrics
| struct_field_names | field_types | field | |
|---|---|---|---|
| Health Score | 43 | 52 | 41 |
| Total Downloads | 13.6K | 47.8K | 32.6K |
| 30d Downloads | 298 | 1.0K | 1.4K |
| Dependents | 5 | 6 | 0 |
| Releases | 3 | 4 | 1 |
| Last Updated | 1726d ago | 2702d ago | 995d ago |
| Age | 4y 9m | 7y 4m | 2y 8m |
Health Breakdown
struct_field_names
Maintenance
4
Quality
15
Community
7
Popularity
5
Documentation
12
field_types
Maintenance
9
Quality
19
Community
7
Popularity
6
Documentation
11
field
Maintenance
1
Quality
16
Community
6
Popularity
5
Documentation
13
Technical Details
| struct_field_names | field_types | field | |
|---|---|---|---|
| Version | 0.2.1 | 1.1.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 4 | 0 |
| Crate Size | 3KB | 7KB | 7KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | — | 2021 |
| MSRV | — | — | — |
| 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.
- •⚠ struct_field_names, field_types, field have not been updated in over a year.
- •struct_field_names, field are pre-1.0 — API may change.