Decision Workspace
struct_scalpel vs field_types vs type-layout
Side-by-side comparison of Rust crates
39
struct_scalpel
growingv0.1.1
memory layout analysis tool for structs, enums, unions, tuples, and references
52
field_types
growingv1.1.0
Some derive macros for deriving enums, corresponding to the fields of structs.
47
type-layout
growingv0.2.0
Derivable trait to view the layout of a struct, useful for debugging.
Core Metrics
| struct_scalpel | field_types | type-layout | |
|---|---|---|---|
| Health Score | 39 | 52 | 47 |
| Total Downloads | 2.8K | 76.8K | 923.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 6 | 158 |
| Releases | 2 | 4 | 2 |
| Last Updated | 1196d ago | 2898d ago | 2212d ago |
| Age | 3y 3m | 7y 11m | 6y |
Health Breakdown
struct_scalpel
Maintenance
4
Quality
17
Community
6
Popularity
4
Documentation
8
field_types
Maintenance
9
Quality
19
Community
7
Popularity
6
Documentation
11
type-layout
Maintenance
3
Quality
16
Community
9
Popularity
7
Documentation
12
Technical Details
| struct_scalpel | field_types | type-layout | |
|---|---|---|---|
| Version | 0.1.1 | 1.1.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | non-standard | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 4 | 3 |
| Crate Size | 57KB | 7KB | 8KB |
| Features | 2 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | — | 2018 |
| 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.
- •type-layout has the most downloads (923.9K), suggesting wider adoption.
- •type-layout is depended on by 158 crates — strongest ecosystem trust.
- •⚠ struct_scalpel, field_types, type-layout have not been updated in over a year.
- •struct_scalpel, type-layout are pre-1.0 — API may change.