Decision Workspace
erasable vs slice-dst vs ptr-union
Side-by-side comparison of Rust crates
53
erasable
growingv1.3.0
Type-erased thin pointers.
50
slice-dst
growingv1.6.0
Slice-based custom DSTs
47
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 | 53 | 50 | 47 |
| Total Downloads | 2.2M | 413.7K | 26.7K |
| 30d Downloads | 290.2K | 119.4K | 1.8K |
| Dependents | 63 | 49 | 12 |
| Releases | 6 | 12 | 11 |
| Last Updated | 435d ago | 435d ago | 435d ago |
| Age | 6y 1m | 6y 1m | 6y 1m |
Health Breakdown
erasable
Maintenance
4
Quality
18
Community
11
Popularity
8
Documentation
12
slice-dst
Maintenance
5
Quality
15
Community
11
Popularity
7
Documentation
12
ptr-union
Maintenance
5
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 53/100, but none of the options score above 80.
- •⚠ erasable, slice-dst, ptr-union have not been updated in over a year.