Decision Workspace
null_fn vs raw-parts vs gtk4-layer-shell-sys
Side-by-side comparison of Rust crates
41
null_fn
growingv0.1.1
A proc attribute macro that allows for creating null function pointers in statics
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
| null_fn | raw-parts | gtk4-layer-shell-sys | |
|---|---|---|---|
| Health Score | 41 | 71 | 60 |
| Total Downloads | 14.1K | 111.4K | 322.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 38 | 19 | 20 |
| Releases | 2 | 13 | 12 |
| Last Updated | 1842d ago | 40d ago | 61d ago |
| Age | 5y | 4y 11m | 3y 6m |
Health Breakdown
null_fn
Maintenance
3
Quality
15
Community
9
Popularity
5
Documentation
9
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
| null_fn | raw-parts | gtk4-layer-shell-sys | |
|---|---|---|---|
| Version | 0.1.1 | 2.2.4 | 0.6.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 3 | 1 | 7 |
| Crate Size | 3KB | 7KB | 10KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 8.3% |
| Edition | 2018 | 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.
- •⚠ null_fn has not been updated in over a year.
- •null_fn, gtk4-layer-shell-sys are pre-1.0 — API may change.