Decision Workspace
ptr-union vs erasable vs widen
Side-by-side comparison of Rust crates
46
ptr-union
growingv2.3.0
Pointer union types the size of a pointer by storing the tag in the alignment bits.
52
erasable
growingv1.3.0
Type-erased thin pointers.
46
widen
experimentalv0.1.0
Error unions and widening conversions for ordinary Rust enums
Core Metrics
| ptr-union | erasable | widen | |
|---|---|---|---|
| Health Score | 46 | 52 | 46 |
| Total Downloads | 39.9K | 4.7M | 10 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 12 | 63 | 0 |
| Releases | 11 | 6 | 1 |
| Last Updated | 631d ago | 631d ago | 25d ago |
| Age | 6y 8m | 6y 8m | 25d |
Health Breakdown
ptr-union
Maintenance
4
Quality
16
Community
9
Popularity
5
Documentation
12
erasable
Maintenance
3
Quality
18
Community
11
Popularity
8
Documentation
12
widen
Maintenance
11
Quality
16
Community
6
Popularity
1
Documentation
12
Technical Details
| ptr-union | erasable | widen | |
|---|---|---|---|
| Version | 2.3.0 | 1.3.0 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 3 | 3 |
| Crate Size | 9KB | 11KB | 17KB |
| Features | 2 | 2 | 2 |
| Yanked % | 36.4% | 16.7% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.80 | 1.80 | 1.71 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •erasable leads with a health score of 52/100, but none of the options score above 80.
- •⚠ ptr-union, erasable have not been updated in over a year.
- •widen is pre-1.0 — API may change.