rustio rustio.net
71

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

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

Security

Checking security advisories...
Downloads
1.0B
Dependents
109.8K
Releases
162
Size
60KB

Deep Insights

๐Ÿ“Š
Steady growth

67.1M downloads in the last 30 days (2.2M/day), up 15% from the previous period.

๐Ÿ›๏ธ
Foundational crate

109.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 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 15/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
1.9M/day avg+48%
01.0M2.0M12/291/162/32/213/113/28

Top Dependents

Version Adoption

v1.0.95
27%
v1.0.101
20%
v1.0.86
20%
v1.0.103
18%
v1.0.106
15%

Release Timeline

162 releases2 yankedsince 2017
J
F
M
A
M
J
J
A
S
O
N
D
2017
8
2018
41
2019
13
2020
18
2021
12
2022
13
2023
23
2024
20
2025
12
2026
2
Less
More|
Yanked

Feature Flags

default =["proc-macro"]

nightlyproc-macro*span-locations

README

Loading README...

Maintainers

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

Similar Crates