Decision Workspace
require_unsafe_in_body vs compiler-test-derive vs unwind_safe
Side-by-side comparison of Rust crates
47
require_unsafe_in_body
growingv0.3.2
Make `unsafe fn` still require `unsafe` blocks in the function's body
38
compiler-test-derive
growingv2.4.3
A macro to generate easily tests across compilers and engines
50
unwind_safe
growingv0.1.0
Readable unwind-safe code thanks to a try-finally-looking builder pattern
Core Metrics
| require_unsafe_in_body | compiler-test-derive | unwind_safe | |
|---|---|---|---|
| Health Score | 47 | 38 | 50 |
| Total Downloads | 358.6K | 2.6K | 4.2M |
| 30d Downloads | 1.4K | 5 | 197.8K |
| Dependents | 17 | 0 | 40 |
| Releases | 10 | 2 | 3 |
| Last Updated | 1976d ago | 718d ago | 1547d ago |
| Age | 6y 7m | 1y 11m | 5y |
Health Breakdown
require_unsafe_in_body
Maintenance
4
Quality
16
Community
8
Popularity
7
Documentation
12
compiler-test-derive
Maintenance
5
Quality
18
Community
5
Popularity
4
Documentation
6
unwind_safe
Maintenance
4
Quality
17
Community
9
Popularity
8
Documentation
12
Technical Details
| require_unsafe_in_body | compiler-test-derive | unwind_safe | |
|---|---|---|---|
| Version | 0.3.2 | 2.4.3 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | Zlib OR MIT OR Apache-2.0 |
| Dependencies | 6 | 5 | 2 |
| Crate Size | 8KB | 4KB | 9KB |
| Features | 3 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •unwind_safe leads with a health score of 50/100, but none of the options score above 80.
- •⚠ require_unsafe_in_body, compiler-test-derive, unwind_safe have not been updated in over a year.
- •require_unsafe_in_body, unwind_safe are pre-1.0 — API may change.