Decision Workspace
goto vs enclose vs drop_code
Side-by-side comparison of Rust crates
38
goto
growingv0.1.2
A safe but not complete implementation of the goto operator.
55
enclose
growingv1.2.1
A convenient macro, for cloning values into a closure.
45
drop_code
growingv1.0.1
A macro that allows you to implement code that will be automatically executed after the function code has finished, be it the end of the function or even a panic state.
Core Metrics
| goto | enclose | drop_code | |
|---|---|---|---|
| Health Score | 38 | 55 | 45 |
| Total Downloads | 5.2K | 2.6M | 2.2K |
| 30d Downloads | 0 | 57.5K | 0 |
| Dependents | 1 | 164 | 0 |
| Releases | 2 | 10 | 2 |
| Last Updated | 2459d ago | 454d ago | 454d ago |
| Age | 6y 9m | 7y 12m | 2y 3m |
Health Breakdown
goto
Maintenance
3
Quality
16
Community
6
Popularity
4
Documentation
9
enclose
Maintenance
5
Quality
21
Community
11
Popularity
8
Documentation
10
drop_code
Maintenance
5
Quality
21
Community
5
Popularity
4
Documentation
10
Technical Details
| goto | enclose | drop_code | |
|---|---|---|---|
| Version | 0.1.2 | 1.2.1 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 8KB | 12KB | 11KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enclose leads with a health score of 55/100, but none of the options score above 80.
- •enclose is depended on by 164 crates — strongest ecosystem trust.
- •⚠ goto, enclose, drop_code have not been updated in over a year.
- •goto is pre-1.0 — API may change.