rustio rustio.net
54

phantom-type

v0.5.2 Growing

A `PhantomData` analog which prevents "parameter is never used" error, but does not produce any restrictions in contrast with `PhantomData`.

MIT OR Apache-2.0 Edition 2021 MSRV 1.70
Rust patternsNo standard library #sync#send#unpin#phantomdata#restrictions

Quick Verdict

  • โœ•Not updated for 1+ year
  • !Pre-1.0: API may have breaking changes
  • โœ“Trusted by 203 crates
  • โœ“Tiny footprint (2KB, 2 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
229.4K
Dependents
203
Releases
10
Size
2KB

Deep Insights

๐Ÿ“Š
Stable downloads

17.0K downloads in the last 30 days (566/day). Volume is roughly flat compared to the previous period.

๐Ÿ”—
Moderate adoption

203 crates depend on phantom-type. Reasonable ecosystem adoption, though not yet a core dependency.

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 52 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 5+ years old, phantom-type hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Minimal dependencies

Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

At 2KB, phantom-type is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include round-based, dep-obj, generic-ec, components-arena, esl. When high-quality crates choose phantom-type, it's a strong quality signal.

Health Breakdown

Maintenance 4/25

Recency, release consistency, active ratio

Quality 17/25

Yanked ratio, deps, size, maturity, features

Community 12/20

Reverse deps, ownership, ecosystem

Popularity 6/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
471/day avg+90%
05001K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.4.2
63%
v0.3.1
26%
v0.5.0
5%
v0.5.2
4%
v0.4.1
1%

Release Timeline

10 releasessince 2020
J
F
M
A
M
J
J
A
S
O
N
D
2020
3
2021
1
2022
3
2023
2024
3
2025
2026
Less
More

Feature Flags

default =["std"]

std*

README

Loading README...

Maintainers

Dependencies
2
direct dependencies
Dependents
203
crates depend on phantom-type

Similar Crates