Decision Workspace
destruct-drop vs destruct-drop-derive vs heap-drop-macros
Side-by-side comparison of Rust crates
45
destruct-drop
growingv0.2.0
Macro for dropping the fields of a struct or enum without dropping the container.
43
destruct-drop-derive
growingv0.2.0
Actual derive macro for destruct-drop.
51
heap-drop-macros
experimentalv1.0.1
Derive macro for HeapDrop trait - enables heap-based dropping of deeply nested structures
Core Metrics
| destruct-drop | destruct-drop-derive | heap-drop-macros | |
|---|---|---|---|
| Health Score | 45 | 43 | 51 |
| Total Downloads | 62.3K | 64.3K | 51 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 21 | 2 | 2 |
| Releases | 2 | 3 | 2 |
| Last Updated | 1220d ago | 1220d ago | 29d ago |
| Age | 5y | 5y | 1m |
Health Breakdown
destruct-drop
Maintenance
3
Quality
15
Community
9
Popularity
6
Documentation
12
destruct-drop-derive
Maintenance
4
Quality
15
Community
6
Popularity
6
Documentation
12
heap-drop-macros
Maintenance
12
Quality
17
Community
7
Popularity
2
Documentation
13
Technical Details
| destruct-drop | destruct-drop-derive | heap-drop-macros | |
|---|---|---|---|
| Version | 0.2.0 | 0.2.0 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 1 | 3 | 3 |
| Crate Size | 2KB | 2KB | 2KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •heap-drop-macros leads with a health score of 51/100, but none of the options score above 80.
- •destruct-drop-derive has the most downloads (64.3K), suggesting wider adoption.
- •⚠ destruct-drop, destruct-drop-derive have not been updated in over a year.
- •destruct-drop, destruct-drop-derive are pre-1.0 — API may change.