Decision Workspace
const-type-layout vs condtype vs elain
Side-by-side comparison of Rust crates
46
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.
48
elain
growingv0.3.1
Set a type's minimum alignment with const generics.
Core Metrics
| const-type-layout | condtype | elain | |
|---|---|---|---|
| Health Score | 46 | 58 | 48 |
| Total Downloads | 9.6K | 4.9M | 442.6K |
| 30d Downloads | 9 | 906.6K | 16.5K |
| Dependents | 0 | 48 | 146 |
| Releases | 6 | 4 | 4 |
| Last Updated | 550d ago | 950d ago | 526d ago |
| Age | 3y 2m | 2y 11m | 4y 11m |
Health Breakdown
const-type-layout
Maintenance
6
Quality
17
Community
3
Popularity
5
Documentation
15
condtype
Maintenance
4
Quality
20
Community
11
Popularity
8
Documentation
15
elain
Maintenance
4
Quality
16
Community
12
Popularity
7
Documentation
9
Technical Details
| const-type-layout | condtype | elain | |
|---|---|---|---|
| Version | 0.3.2 | 1.3.0 | 0.3.1 |
| 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 | 0 |
| Crate Size | 23KB | 13KB | 4KB |
| Features | 2 | 0 | 0 |
| 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.
- •elain is depended on by 146 crates — strongest ecosystem trust.
- •⚠ const-type-layout, condtype, elain have not been updated in over a year.
- •const-type-layout, elain are pre-1.0 — API may change.