Decision Workspace
require_unsafe_in_body vs compiler-test-derive vs semisafe
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
52
semisafe
experimentalv1.2.0
Semi-safe utilities for performance-critical Rust
Core Metrics
| require_unsafe_in_body | compiler-test-derive | semisafe | |
|---|---|---|---|
| Health Score | 47 | 38 | 52 |
| Total Downloads | 366.3K | 2.7K | 689 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 17 | 0 | 8 |
| Releases | 10 | 2 | 5 |
| Last Updated | 2172d ago | 915d ago | 113d ago |
| Age | 7y 1m | 2y 6m | 5m |
Health Breakdown
require_unsafe_in_body
Maintenance
4
Quality
16
Community
8
Popularity
7
Documentation
12
compiler-test-derive
Maintenance
4
Quality
19
Community
5
Popularity
4
Documentation
6
semisafe
Maintenance
12
Quality
18
Community
9
Popularity
3
Documentation
10
Technical Details
| require_unsafe_in_body | compiler-test-derive | semisafe | |
|---|---|---|---|
| Version | 0.3.2 | 2.4.3 | 1.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT or Apache-2.0 |
| Dependencies | 6 | 5 | 0 |
| Crate Size | 8KB | 4KB | 8KB |
| Features | 3 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •semisafe leads with a health score of 52/100, but none of the options score above 80.
- •require_unsafe_in_body has the most downloads (366.3K), suggesting wider adoption.
- •⚠ require_unsafe_in_body, compiler-test-derive have not been updated in over a year.
- •require_unsafe_in_body is pre-1.0 — API may change.