Decision Workspace
unwind_safe vs require_unsafe_in_body vs safety-guard
Side-by-side comparison of Rust crates
50
unwind_safe
growingv0.1.0
Readable unwind-safe code thanks to a try-finally-looking builder pattern
47
require_unsafe_in_body
growingv0.3.2
Make `unsafe fn` still require `unsafe` blocks in the function's body
46
safety-guard
growingv0.1.9
#[safety] attribute to generate a corresponding doc entry and a debug assertion if a constraint is specified.
Core Metrics
| unwind_safe | require_unsafe_in_body | safety-guard | |
|---|---|---|---|
| Health Score | 50 | 47 | 46 |
| Total Downloads | 4.2M | 358.6K | 34.1K |
| 30d Downloads | 204.8K | 1.4K | 20 |
| Dependents | 40 | 17 | 0 |
| Releases | 3 | 10 | 9 |
| Last Updated | 1547d ago | 1976d ago | 2547d ago |
| Age | 5y | 6y 7m | 7y |
Health Breakdown
unwind_safe
Maintenance
4
Quality
17
Community
9
Popularity
8
Documentation
12
require_unsafe_in_body
Maintenance
4
Quality
16
Community
8
Popularity
7
Documentation
12
safety-guard
Maintenance
4
Quality
15
Community
10
Popularity
5
Documentation
12
Technical Details
| unwind_safe | require_unsafe_in_body | safety-guard | |
|---|---|---|---|
| Version | 0.1.0 | 0.3.2 | 0.1.9 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Zlib OR MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 6 | 2 |
| Crate Size | 9KB | 8KB | 9KB |
| Features | 2 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •unwind_safe leads with a health score of 50/100, but none of the options score above 80.
- •⚠ unwind_safe, require_unsafe_in_body, safety-guard have not been updated in over a year.