Decision Workspace
scopeguard-lite vs scopeguard vs supply-chain-trust-example-crate-000046
Side-by-side comparison of Rust crates
45
scopeguard-lite
growingv1.0.0
A lightweight way to defer execution of a block to the end of the scope, and to run code during an unwind.
60
scopeguard
growingv1.2.0
A RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic). Defines the macros `defer!`, `defer_on_unwind!`, `defer_on_success!` as shorthands for guards with one of the implemented strategies.
40
supply-chain-trust-example-crate-000046
growingv1.2.1
A RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic). Defines the macros `defer!`, `defer_on_unwind!`, `defer_on_success!` as shorthands for guards with one of the implemented strategies.
Core Metrics
| scopeguard-lite | scopeguard | supply-chain-trust-example-crate-000046 | |
|---|---|---|---|
| Health Score | 45 | 60 | 40 |
| Total Downloads | 338 | 597.9M | 1.6K |
| 30d Downloads | 3 | 40.5M | 2 |
| Dependents | 0 | 7.0K | 0 |
| Releases | 1 | 11 | 2 |
| Last Updated | 183d ago | 984d ago | 374d ago |
| Age | 6m | 10y 11m | 1y 4m |
Health Breakdown
scopeguard-lite
Maintenance
5
Quality
19
Community
6
Popularity
3
Documentation
12
scopeguard
Maintenance
4
Quality
20
Community
17
Popularity
8
Documentation
11
supply-chain-trust-example-crate-000046
Maintenance
6
Quality
16
Community
6
Popularity
4
Documentation
8
Technical Details
| scopeguard-lite | scopeguard | supply-chain-trust-example-crate-000046 | |
|---|---|---|---|
| Version | 1.0.0 | 1.2.0 | 1.2.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 8KB | 12KB | 12KB |
| Features | 0 | 2 | 2 |
| Yanked % | 0.0% | 9.1% | 100.0% |
| Edition | 2021 | — | — |
| MSRV | 1.61 | — | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •scopeguard leads with a health score of 60/100, but none of the options score above 80.
- •scopeguard is depended on by 7.0K crates — strongest ecosystem trust.
- •⚠ scopeguard, supply-chain-trust-example-crate-000046 have not been updated in over a year.