Decision Workspace
phantom-type vs sync-ptr vs threadporter
Side-by-side comparison of Rust crates
54
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`.
54
sync-ptr
growingv0.2.1
Sync & Send wrappers for raw pointer's and function pointers in rust
46
threadporter
growingv0.1.3
First aid kit for !Send + !Sync values ⛑️
Core Metrics
| phantom-type | sync-ptr | threadporter | |
|---|---|---|---|
| Health Score | 54 | 54 | 46 |
| Total Downloads | 229.4K | 159.7K | 5.1K |
| 30d Downloads | 15.4K | 14.0K | 321 |
| Dependents | 203 | 12 | 4 |
| Releases | 10 | 7 | 4 |
| Last Updated | 564d ago | 160d ago | 397d ago |
| Age | 5y 6m | 1y 6m | 1y 1m |
Health Breakdown
phantom-type
Maintenance
4
Quality
17
Community
12
Popularity
6
Documentation
15
sync-ptr
Maintenance
11
Quality
17
Community
8
Popularity
6
Documentation
12
threadporter
Maintenance
10
Quality
15
Community
7
Popularity
4
Documentation
10
Technical Details
| phantom-type | sync-ptr | threadporter | |
|---|---|---|---|
| Version | 0.5.2 | 0.2.1 | 0.1.3 |
| 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 | 7KB |
| 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
- •phantom-type leads with a health score of 54/100, but none of the options score above 80.
- •phantom-type is depended on by 203 crates — strongest ecosystem trust.
- •⚠ phantom-type, threadporter have not been updated in over a year.