Decision Workspace
abort-on-drop vs drop-handle vs kyansel
Side-by-side comparison of Rust crates
45
abort-on-drop
growingv0.2.2
A wrapper of Tokio's JoinHandle that aborts the task when it's dropped, while still allowing it to be awaited for joining.
46
drop-handle
experimentalv1.0.0
A handle that will abort a Tokio task when dropped.
41
kyansel
growingv0.3.1
Cancellable future. Provide a future as argument and the current future will cancel if the provided future resolves first
Core Metrics
| abort-on-drop | drop-handle | kyansel | |
|---|---|---|---|
| Health Score | 45 | 46 | 41 |
| Total Downloads | 708.2K | 16 | 9.6K |
| 30d Downloads | 16.6K | 5 | 8 |
| Dependents | 30 | 0 | 0 |
| Releases | 4 | 1 | 5 |
| Last Updated | 1331d ago | 32d ago | 2318d ago |
| Age | 3y 11m | 1m | 6y 4m |
Health Breakdown
abort-on-drop
Maintenance
4
Quality
15
Community
9
Popularity
7
Documentation
10
drop-handle
Maintenance
11
Quality
16
Community
6
Popularity
1
Documentation
12
kyansel
Maintenance
7
Quality
14
Community
3
Popularity
5
Documentation
12
Technical Details
| abort-on-drop | drop-handle | kyansel | |
|---|---|---|---|
| Version | 0.2.2 | 1.0.0 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | BSD-2-Clause | MIT OR Apache-2.0 | Apache-2.0/MIT |
| Dependencies | 2 | 4 | 4 |
| Crate Size | 2KB | 5KB | 16KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2018 |
| MSRV | — | 1.85.1 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •drop-handle leads with a health score of 46/100, but none of the options score above 80.
- •abort-on-drop has the most downloads (708.2K), suggesting wider adoption.
- •⚠ abort-on-drop, kyansel have not been updated in over a year.
- •abort-on-drop, kyansel are pre-1.0 — API may change.