Decision Workspace
unsaferef vs self_cell vs dyn-context
Side-by-side comparison of Rust crates
46
unsaferef
growingv0.1.0
An unsafe reference without explicit lifetime
63
self_cell
stablev1.3.0
Safe-to-use proc-macro-free self-referential structs in stable Rust.
55
dyn-context
growingv0.19.5
Simple mechanism for lifetimes erasing.
Core Metrics
| unsaferef | self_cell | dyn-context | |
|---|---|---|---|
| Health Score | 46 | 63 | 55 |
| Total Downloads | 1.1K | 75.6M | 70.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 2.1K | 115 |
| Releases | 1 | 20 | 52 |
| Last Updated | 741d ago | 86d ago | 875d ago |
| Age | 2y | 5y 5m | 6y 1m |
Health Breakdown
unsaferef
Maintenance
1
Quality
18
Community
10
Popularity
4
Documentation
13
self_cell
Maintenance
13
Quality
15
Community
15
Popularity
8
Documentation
12
dyn-context
Maintenance
7
Quality
15
Community
12
Popularity
6
Documentation
15
Technical Details
| unsaferef | self_cell | dyn-context | |
|---|---|---|---|
| Version | 0.1.0 | 1.3.0 | 0.19.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | Apache-2.0 OR GPL-2.0-only | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 3 |
| Crate Size | 4KB | 24KB | 5KB |
| Features | 2 | 1 | 0 |
| Yanked % | 0.0% | 55.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | — | 1.71 |
| Owners | 2 (team) | 1 | 1 |
Links
Quick Verdict
- •self_cell leads with a health score of 63/100, but none of the options score above 80.
- •self_cell is depended on by 2.1K crates — strongest ecosystem trust.
- •⚠ unsaferef, dyn-context have not been updated in over a year.
- •unsaferef, dyn-context are pre-1.0 — API may change.