Decision Workspace
derive_destructure vs derive_destructure2 vs exit_safely
Side-by-side comparison of Rust crates
41
derive_destructure
growingv1.0.0
Destructure structs that implement Drop
51
derive_destructure2
growingv0.1.3
Destructure structs that implement Drop
56
exit_safely
experimentalv0.3.2
exit safely with custom exit codes while still calling `Drop` as needed. Aims for minimal magic and maximum flexibilty.
Core Metrics
| derive_destructure | derive_destructure2 | exit_safely | |
|---|---|---|---|
| Health Score | 41 | 51 | 56 |
| Total Downloads | 37.0K | 4.1M | 3.5K |
| 30d Downloads | 0 | 260.5K | 0 |
| Dependents | 8 | 131 | 11 |
| Releases | 1 | 6 | 6 |
| Last Updated | 2534d ago | 821d ago | 2d ago |
| Age | 6y 11m | 4y 5m | 3m |
Health Breakdown
derive_destructure
Maintenance
1
Quality
20
Community
6
Popularity
5
Documentation
9
derive_destructure2
Maintenance
7
Quality
15
Community
12
Popularity
8
Documentation
9
exit_safely
Maintenance
19
Quality
12
Community
9
Popularity
4
Documentation
12
Technical Details
| derive_destructure | derive_destructure2 | exit_safely | |
|---|---|---|---|
| Version | 1.0.0 | 0.1.3 | 0.3.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 3 | 3 | 10 |
| Crate Size | 5KB | 11KB | 11KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2024 |
| MSRV | — | — | 1.95.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •exit_safely leads with a health score of 56/100, but none of the options score above 80.
- •derive_destructure2 has the most downloads (4.1M), suggesting wider adoption.
- •derive_destructure2 is depended on by 131 crates — strongest ecosystem trust.
- •⚠ derive_destructure, derive_destructure2 have not been updated in over a year.
- •derive_destructure2, exit_safely are pre-1.0 — API may change.