Decision Workspace
derive_destructure2 vs derive_destructure vs exit_safely
Side-by-side comparison of Rust crates
51
derive_destructure2
growingv0.1.3
Destructure structs that implement Drop
41
derive_destructure
growingv1.0.0
Destructure structs that implement Drop
53
exit_safely
experimentalv0.3.3
exit safely with custom exit codes while still calling `Drop` as needed. Aims for minimal magic and maximum flexibilty.
Core Metrics
| derive_destructure2 | derive_destructure | exit_safely | |
|---|---|---|---|
| Health Score | 51 | 41 | 53 |
| Total Downloads | 5.2M | 38.1K | 6.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 141 | 8 | 19 |
| Releases | 6 | 1 | 7 |
| Last Updated | 937d ago | 2650d ago | 99d ago |
| Age | 4y 9m | 7y 3m | 6m |
Health Breakdown
derive_destructure2
Maintenance
7
Quality
15
Community
12
Popularity
8
Documentation
9
derive_destructure
Maintenance
1
Quality
20
Community
6
Popularity
5
Documentation
9
exit_safely
Maintenance
14
Quality
12
Community
10
Popularity
5
Documentation
12
Technical Details
| derive_destructure2 | derive_destructure | exit_safely | |
|---|---|---|---|
| Version | 0.1.3 | 1.0.0 | 0.3.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 3 | 3 | 10 |
| Crate Size | 11KB | 5KB | 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 53/100, but none of the options score above 80.
- •derive_destructure2 has the most downloads (5.2M), suggesting wider adoption.
- •derive_destructure2 is depended on by 141 crates — strongest ecosystem trust.
- •⚠ derive_destructure2, derive_destructure have not been updated in over a year.
- •derive_destructure2, exit_safely are pre-1.0 — API may change.