Decision Workspace
debug_unsafe vs unchecked_unwrap vs assert-unchecked
Side-by-side comparison of Rust crates
64
debug_unsafe
growingv0.1.4
Uses `debug-assertions` as a switch of safe/unsafe behaviour
57
unchecked_unwrap
growingv4.0.0
Adds an unchecked version of `unwrap()` and `expect()` to Option and Result.
54
assert-unchecked
growingv0.1.2
Unsafe assertions that allow for optimizations in release mode.
Core Metrics
| debug_unsafe | unchecked_unwrap | assert-unchecked | |
|---|---|---|---|
| Health Score | 64 | 57 | 54 |
| Total Downloads | 3.7M | 785.6K | 2.5M |
| 30d Downloads | 1.0M | 82.7K | 91.2K |
| Dependents | 43 | 106 | 272 |
| Releases | 5 | 10 | 3 |
| Last Updated | 46d ago | 1466d ago | 1545d ago |
| Age | 1y 1m | 7y 3m | 4y 2m |
Health Breakdown
debug_unsafe
Maintenance
15
Quality
16
Community
10
Popularity
8
Documentation
15
unchecked_unwrap
Maintenance
4
Quality
23
Community
12
Popularity
7
Documentation
11
assert-unchecked
Maintenance
4
Quality
16
Community
13
Popularity
8
Documentation
13
Technical Details
| debug_unsafe | unchecked_unwrap | assert-unchecked | |
|---|---|---|---|
| Version | 0.1.4 | 4.0.0 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 1 | 0 | 0 |
| Crate Size | 7KB | 9KB | 4KB |
| Features | 1 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | 1.58 | 1.54 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •debug_unsafe leads with a health score of 64/100, but none of the options score above 80.
- •assert-unchecked is depended on by 272 crates — strongest ecosystem trust.
- •⚠ unchecked_unwrap, assert-unchecked have not been updated in over a year.
- •debug_unsafe, assert-unchecked are pre-1.0 — API may change.