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.
56
enclose
growingv1.2.1
A convenient macro, for cloning values into a closure.
46
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 | 56 | 46 |
| Total Downloads | 5.0K | 2.2M | 2.1K |
| 30d Downloads | 52 | 72.5K | 4 |
| Dependents | 1 | 162 | 0 |
| Releases | 2 | 10 | 2 |
| Last Updated | 2351d ago | 346d ago | 346d ago |
| Age | 6y 5m | 7y 8m | 1y 11m |
Health Breakdown
goto
Maintenance
3
Quality
16
Community
6
Popularity
4
Documentation
9
enclose
Maintenance
6
Quality
21
Community
11
Popularity
8
Documentation
10
drop_code
Maintenance
7
Quality
20
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 56/100, but none of the options score above 80.
- •enclose is depended on by 162 crates — strongest ecosystem trust.
- •⚠ goto has not been updated in over a year.
- •goto is pre-1.0 — API may change.