Decision Workspace
phantom-type vs sync-ptr vs threadporter
Side-by-side comparison of Rust crates
55
phantom-type
growingv0.5.2
A `PhantomData` analog which prevents "parameter is never used" error, but does not produce any restrictions in contrast with `PhantomData`.
57
sync-ptr
growingv0.2.2
Sync & Send wrappers for raw pointer's and function pointers in rust
53
threadporter
growingv0.1.4
First aid kit for !Send + !Sync values ⛑️
Core Metrics
| phantom-type | sync-ptr | threadporter | |
|---|---|---|---|
| Health Score | 55 | 57 | 53 |
| Total Downloads | 425.9K | 270.3K | 6.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 210 | 15 | 8 |
| Releases | 10 | 8 | 5 |
| Last Updated | 760d ago | 69d ago | 58d ago |
| Age | 6y | 2y | 1y 7m |
Health Breakdown
phantom-type
Maintenance
4
Quality
17
Community
12
Popularity
7
Documentation
15
sync-ptr
Maintenance
14
Quality
17
Community
8
Popularity
6
Documentation
12
threadporter
Maintenance
15
Quality
15
Community
8
Popularity
5
Documentation
10
Technical Details
| phantom-type | sync-ptr | threadporter | |
|---|---|---|---|
| Version | 0.5.2 | 0.2.2 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 2 | 0 | 2 |
| Crate Size | 2KB | 11KB | 12KB |
| Features | 2 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.70 | 1.65.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •sync-ptr leads with a health score of 57/100, but none of the options score above 80.
- •phantom-type has the most downloads (425.9K), suggesting wider adoption.
- •phantom-type is depended on by 210 crates — strongest ecosystem trust.
- •⚠ phantom-type has not been updated in over a year.