Decision Workspace
local-or-heap vs memory-layout vs struct_layout
Side-by-side comparison of Rust crates
42
local-or-heap
growingv0.1.0
provides a type with a pre-specified size, regardless of the size of the T type it contains, using heap allocation if necessary
45
memory-layout
growingv0.3.0
explicit struct layouts.
36
struct_layout
growingv0.1.0
Customize your struct layout with this one weird trick.
Core Metrics
| local-or-heap | memory-layout | struct_layout | |
|---|---|---|---|
| Health Score | 42 | 45 | 36 |
| Total Downloads | 62.4K | 4.1K | 2.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 9 | 0 | 0 |
| Releases | 1 | 3 | 1 |
| Last Updated | 846d ago | 1198d ago | 2730d ago |
| Age | 2y 3m | 3y 5m | 7y 5m |
Health Breakdown
local-or-heap
Maintenance
1
Quality
16
Community
9
Popularity
6
Documentation
10
memory-layout
Maintenance
4
Quality
16
Community
6
Popularity
4
Documentation
15
struct_layout
Maintenance
1
Quality
16
Community
3
Popularity
4
Documentation
12
Technical Details
| local-or-heap | memory-layout | struct_layout | |
|---|---|---|---|
| Version | 0.1.0 | 0.3.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 0 | 1 | 0 |
| Crate Size | 3KB | 2KB | 9KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.57.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •memory-layout leads with a health score of 45/100, but none of the options score above 80.
- •local-or-heap has the most downloads (62.4K), suggesting wider adoption.
- •⚠ local-or-heap, memory-layout, struct_layout have not been updated in over a year.