rustio rustio.net
69

proc-macro2

v1.0.106 Stable

A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case.

MIT OR Apache-2.0 Edition 2021 MSRV 1.68

Quick Verdict

  • โœ“Stable API (1.x for 8+ years)
  • โœ“Massive adoption (122.6K crates depend on it)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
1.2B
Dependents
122.6K
Releases
162
Size
60KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

85.6M downloads in the last 30 days (2.9M/day), up 24% from the previous period.

๐Ÿ›๏ธ
Foundational crate

122.6K crates depend on proc-macro2 โ€” it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

๐Ÿ‘ค
Prolific maintainer

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

โœ…
Stable for 8+ years

The API has been stable (1.x) for over 8 years with 162 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐ŸŒŸ
Used by top crates

Notable dependents include syn, quote, thiserror-impl, serde_derive, log. When high-quality crates choose proc-macro2, it's a strong quality signal.

Health Breakdown

Maintenance 13/25

Recency, release consistency, active ratio

Quality 20/25

Yanked ratio, deps, size, maturity, features

Community 13/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
2.4M/day avg+33%
01.0M2.0M3.0M4.0M2/263/164/34/215/95/26

Top Dependents

Version Adoption

v1.0.106
41%
v1.0.101
26%
v1.0.103
26%
v1.0.105
5%
v1.0.104
2%

Release Timeline

10 releasessince 2025
J
F
M
A
M
J
J
A
S
O
N
D
2025
8
2026
2
Less
More

Feature Flags

default =["proc-macro"]

nightlyproc-macro*span-locations

README

Loading README...

Maintainers

Dependencies
6
direct dependencies
Dependents
122.6K
crates depend on proc-macro2

Similar Crates