Decision Workspace
unsafe-erased vs raw-parts vs gtk4-layer-shell-sys
Side-by-side comparison of Rust crates
37
unsafe-erased
growingv0.1.0
This crate can be used for unsafe type erasure. caution is advised.
71
raw-parts
stablev2.2.4
Ergonomic wrapper around `Vec::from_raw_parts` and `Vec::into_raw_parts`.
60
gtk4-layer-shell-sys
growingv0.6.1
Unsafe gir-generated FFI bindings for gtk4-layer-shell
Core Metrics
| unsafe-erased | raw-parts | gtk4-layer-shell-sys | |
|---|---|---|---|
| Health Score | 37 | 71 | 60 |
| Total Downloads | 2.7K | 111.4K | 322.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 4 | 19 | 20 |
| Releases | 1 | 13 | 12 |
| Last Updated | 603d ago | 40d ago | 61d ago |
| Age | 1y 7m | 4y 11m | 3y 6m |
Health Breakdown
unsafe-erased
Maintenance
1
Quality
15
Community
4
Popularity
4
Documentation
13
raw-parts
Maintenance
15
Quality
20
Community
15
Popularity
6
Documentation
15
gtk4-layer-shell-sys
Maintenance
15
Quality
13
Community
10
Popularity
7
Documentation
15
Technical Details
| unsafe-erased | raw-parts | gtk4-layer-shell-sys | |
|---|---|---|---|
| Version | 0.1.0 | 2.2.4 | 0.6.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 2 | 1 | 7 |
| Crate Size | 5KB | 7KB | 10KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 8.3% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.76.0 | 1.85 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •raw-parts leads with a health score of 71/100, but none of the options score above 80.
- •gtk4-layer-shell-sys has the most downloads (322.3K), suggesting wider adoption.
- •⚠ unsafe-erased has not been updated in over a year.
- •unsafe-erased, gtk4-layer-shell-sys are pre-1.0 — API may change.