Decision Workspace
const-type-layout vs condtype vs type-layout
Side-by-side comparison of Rust crates
45
const-type-layout
growingv0.3.2
Derivable const trait to view and compare the layout of a struct, union, or enum.
58
condtype
growingv1.3.0
Choose types at compile-time via boolean constants.
47
type-layout
growingv0.2.0
Derivable trait to view the layout of a struct, useful for debugging.
Core Metrics
| const-type-layout | condtype | type-layout | |
|---|---|---|---|
| Health Score | 45 | 58 | 47 |
| Total Downloads | 9.7K | 15.7M | 923.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 56 | 158 |
| Releases | 6 | 4 | 2 |
| Last Updated | 747d ago | 1146d ago | 2212d ago |
| Age | 3y 8m | 3y 5m | 6y |
Health Breakdown
const-type-layout
Maintenance
5
Quality
17
Community
3
Popularity
5
Documentation
15
condtype
Maintenance
4
Quality
20
Community
11
Popularity
8
Documentation
15
type-layout
Maintenance
3
Quality
16
Community
9
Popularity
7
Documentation
12
Technical Details
| const-type-layout | condtype | type-layout | |
|---|---|---|---|
| Version | 0.3.2 | 1.3.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 2 | 3 |
| Crate Size | 23KB | 13KB | 8KB |
| Features | 2 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | 1.78 | 1.59.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •condtype leads with a health score of 58/100, but none of the options score above 80.
- •type-layout is depended on by 158 crates — strongest ecosystem trust.
- •⚠ const-type-layout, condtype, type-layout have not been updated in over a year.
- •const-type-layout, type-layout are pre-1.0 — API may change.