rustio rustio.net
70

proc-macro2

v1.0.107 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.71

Quick Verdict

  • โœ“Actively maintained (updated 83d ago)
  • โœ“Stable API (1.x for 9+ years)
  • โœ“Massive adoption (158.8K crates depend on it)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
1.7B
Dependents
158.8K
Releases
163
Size
60KB

Deep Insights

๐Ÿ“Š
Steady growth

149.7M downloads in the last 30 days (5.0M/day), up 10% from the previous period.

๐Ÿ›๏ธ
Foundational crate

158.8K 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 234 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

โœ…
Stable for 9+ years

The API has been stable (1.x) for over 9 years with 163 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 14/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.1M/day avg-100%
02.0M4.0M6.0M8/229/99/2710/1511/211/19

Top Dependents

Version Adoption

v1.0.106
48%
v1.0.107
19%
v1.0.103
17%
v1.0.101
13%
v1.0.105
3%

Release Timeline

10 releasessince 2025
J
F
M
A
M
J
J
A
S
O
N
D
2025
7
2026
3
Less
More

Feature Flags

default =["proc-macro"]

nightlyproc-macro*span-locations

README

Loading README...

Maintainers

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

Similar Crates