Decision Workspace
tempref vs scopeguard-lite vs scoped
Side-by-side comparison of Rust crates
50
tempref
experimentalv0.3.0
This crate provides a type whose value remains unchanged even when accessed through a mutable reference.
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.
35
scoped
growingv0.1.2
Run deferred closures at success, failure, or exit of a scope. Also supports cancelling them
Core Metrics
| tempref | scopeguard-lite | scoped | |
|---|---|---|---|
| Health Score | 50 | 45 | 35 |
| Total Downloads | 1.1K | 338 | 4.5K |
| 30d Downloads | 7 | 3 | 6 |
| Dependents | 0 | 0 | 0 |
| Releases | 4 | 1 | 3 |
| Last Updated | 168d ago | 183d ago | 2634d ago |
| Age | 6m | 6m | 7y 2m |
Health Breakdown
tempref
Maintenance
12
Quality
18
Community
6
Popularity
4
Documentation
10
scopeguard-lite
Maintenance
5
Quality
19
Community
6
Popularity
3
Documentation
12
scoped
Maintenance
3
Quality
16
Community
3
Popularity
4
Documentation
9
Technical Details
| tempref | scopeguard-lite | scoped | |
|---|---|---|---|
| Version | 0.3.0 | 1.0.0 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 11KB | 8KB | 5KB |
| Features | 6 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | — | 1.61 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •tempref leads with a health score of 50/100, but none of the options score above 80.
- •scoped has the most downloads (4.5K), suggesting wider adoption.
- •⚠ scoped has not been updated in over a year.
- •tempref, scoped are pre-1.0 — API may change.