Decision Workspace
null_fn vs raw-parts vs phylactery
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
72
raw-parts
stablev2.2.2
Ergonomic wrapper around `Vec::from_raw_parts` and `Vec::into_raw_parts`.
63
phylactery
growingv3.0.0
Safe and thin wrappers around lifetime extension to allow non-static values to cross static boundaries.
Core Metrics
| null_fn | raw-parts | phylactery | |
|---|---|---|---|
| Health Score | 41 | 72 | 63 |
| Total Downloads | 12.3K | 83.7K | 8.6K |
| 30d Downloads | 246 | 663 | 80 |
| Dependents | 37 | 19 | 0 |
| Releases | 2 | 11 | 32 |
| Last Updated | 1646d ago | 11d ago | 17d ago |
| Age | 4y 6m | 4y 4m | 7m |
Health Breakdown
null_fn
Maintenance
3
Quality
15
Community
9
Popularity
5
Documentation
9
raw-parts
Maintenance
16
Quality
20
Community
15
Popularity
6
Documentation
15
phylactery
Maintenance
18
Quality
19
Community
6
Popularity
5
Documentation
15
Technical Details
| null_fn | raw-parts | phylactery | |
|---|---|---|---|
| Version | 0.1.1 | 2.2.2 | 3.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 3 | 1 | 4 |
| Crate Size | 3KB | 7KB | 19KB |
| Features | 0 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.76.0 | 1.75 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •raw-parts leads with a health score of 72/100, but none of the options score above 80.
- •⚠ null_fn has not been updated in over a year.
- •null_fn is pre-1.0 — API may change.