Decision Workspace
threadporter vs phantom-type vs sync-ptr
Side-by-side comparison of Rust crates
46
threadporter
growingv0.1.3
First aid kit for !Send + !Sync values ⛑️
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
Core Metrics
| threadporter | phantom-type | sync-ptr | |
|---|---|---|---|
| Health Score | 46 | 54 | 54 |
| Total Downloads | 5.1K | 229.4K | 159.7K |
| 30d Downloads | 321 | 15.4K | 14.0K |
| Dependents | 4 | 203 | 12 |
| Releases | 4 | 10 | 7 |
| Last Updated | 397d ago | 564d ago | 160d ago |
| Age | 1y 1m | 5y 6m | 1y 6m |
Health Breakdown
threadporter
Maintenance
10
Quality
15
Community
7
Popularity
4
Documentation
10
phantom-type
Maintenance
4
Quality
17
Community
12
Popularity
6
Documentation
15
sync-ptr
Maintenance
11
Quality
17
Community
8
Popularity
6
Documentation
12
Technical Details
| threadporter | phantom-type | sync-ptr | |
|---|---|---|---|
| Version | 0.1.3 | 0.5.2 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 2 | 0 |
| Crate Size | 7KB | 2KB | 11KB |
| Features | 0 | 2 | 1 |
| 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.
- •⚠ threadporter, phantom-type have not been updated in over a year.