Decision Workspace
erasable vs slice-dst vs ptr-union
Side-by-side comparison of Rust crates
52
erasable
growingv1.3.0
Type-erased thin pointers.
49
slice-dst
growingv1.6.0
Slice-based custom DSTs
46
ptr-union
growingv2.3.0
Pointer union types the size of a pointer by storing the tag in the alignment bits.
Core Metrics
| erasable | slice-dst | ptr-union | |
|---|---|---|---|
| Health Score | 52 | 49 | 46 |
| Total Downloads | 4.7M | 1.4M | 39.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 63 | 51 | 12 |
| Releases | 6 | 12 | 11 |
| Last Updated | 631d ago | 631d ago | 631d ago |
| Age | 6y 8m | 6y 8m | 6y 8m |
Health Breakdown
erasable
Maintenance
3
Quality
18
Community
11
Popularity
8
Documentation
12
slice-dst
Maintenance
4
Quality
15
Community
11
Popularity
7
Documentation
12
ptr-union
Maintenance
4
Quality
16
Community
9
Popularity
5
Documentation
12
Technical Details
| erasable | slice-dst | ptr-union | |
|---|---|---|---|
| Version | 1.3.0 | 1.6.0 | 2.3.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 2 | 3 |
| Crate Size | 11KB | 11KB | 9KB |
| Features | 2 | 1 | 2 |
| Yanked % | 16.7% | 33.3% | 36.4% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.80 | 1.80 | 1.80 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •erasable leads with a health score of 52/100, but none of the options score above 80.
- •⚠ erasable, slice-dst, ptr-union have not been updated in over a year.