Decision Workspace
ffi-destruct vs destruct-drop vs destruct-drop-derive
Side-by-side comparison of Rust crates
43
ffi-destruct
growingv0.1.3
Generates destructors for structures that contain raw pointers in the FFI.
44
destruct-drop
growingv0.2.0
Macro for dropping the fields of a struct or enum without dropping the container.
42
destruct-drop-derive
growingv0.2.0
Actual derive macro for destruct-drop.
Core Metrics
| ffi-destruct | destruct-drop | destruct-drop-derive | |
|---|---|---|---|
| Health Score | 43 | 44 | 42 |
| Total Downloads | 5.7K | 32.2K | 34.2K |
| 30d Downloads | 6 | 1.1K | 1.1K |
| Dependents | 0 | 19 | 2 |
| Releases | 4 | 2 | 3 |
| Last Updated | 1256d ago | 1024d ago | 1024d ago |
| Age | 3y 5m | 4y 6m | 4y 6m |
Health Breakdown
ffi-destruct
Maintenance
10
Quality
14
Community
5
Popularity
4
Documentation
10
destruct-drop
Maintenance
3
Quality
15
Community
9
Popularity
5
Documentation
12
destruct-drop-derive
Maintenance
4
Quality
15
Community
6
Popularity
5
Documentation
12
Technical Details
| ffi-destruct | destruct-drop | destruct-drop-derive | |
|---|---|---|---|
| Version | 0.1.3 | 0.2.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT | MIT |
| Dependencies | 4 | 1 | 3 |
| Crate Size | 9KB | 2KB | 2KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •destruct-drop leads with a health score of 44/100, but none of the options score above 80.
- •destruct-drop-derive has the most downloads (34.2K), suggesting wider adoption.
- •⚠ ffi-destruct, destruct-drop, destruct-drop-derive have not been updated in over a year.