Decision Workspace
drop_guard vs waker-fn vs closure-it
Side-by-side comparison of Rust crates
47
drop_guard
growingv0.3.0
The drop_guard crate enables you to implement the Drop trait on any type. So you can run a closure on any value running out of scope.
64
waker-fn
growingv1.2.0
Convert closures into wakers
47
closure-it
experimentalv0.1.6
Like kotlin it keyword, translate `it` to closure
Core Metrics
| drop_guard | waker-fn | closure-it | |
|---|---|---|---|
| Health Score | 47 | 64 | 47 |
| Total Downloads | 652.1K | 114.2M | 3.7K |
| 30d Downloads | 2.6K | 4.2M | 10 |
| Dependents | 43 | 529 | 0 |
| Releases | 7 | 4 | 7 |
| Last Updated | 1584d ago | 684d ago | 149d ago |
| Age | 8y 8m | 5y 10m | 11m |
Health Breakdown
drop_guard
Maintenance
3
Quality
15
Community
10
Popularity
7
Documentation
12
waker-fn
Maintenance
4
Quality
21
Community
17
Popularity
8
Documentation
14
closure-it
Maintenance
12
Quality
15
Community
6
Popularity
4
Documentation
10
Technical Details
| drop_guard | waker-fn | closure-it | |
|---|---|---|---|
| Version | 0.3.0 | 1.2.0 | 0.1.6 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | Apache-2.0 OR MIT | MIT |
| Dependencies | 1 | 1 | 0 |
| Crate Size | 5KB | 7KB | 4KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | 1.51 | — |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •waker-fn leads with a health score of 64/100, but none of the options score above 80.
- •waker-fn is depended on by 529 crates — strongest ecosystem trust.
- •⚠ drop_guard, waker-fn have not been updated in over a year.
- •drop_guard, closure-it are pre-1.0 — API may change.