Is proc-macro2 (crates) safe?
Safe to connect
Why: no critical or high findings in 21 files.
- Trust score 80/100
- As of November 30, 2026
- 523,301,335 downloads/90d
What it is
A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case.
Top findings
0 critical, 0 high, 2 in all (critical and high count what ships, not tests or examples).
- mediumstd::process::Command (Rust) in
build.rs:190 - mediumstd::process::Command (Rust) in
build.rs:250
21 files read.
Signed result
This answer is signed (Ed25519, JWS). Get the signed attestation and check it offline against our public keys: how to verify an attestation. How scoring works.
Source: https://crates.io/crates/proc-macro2
Maintainer? Request a re-check: claim this tool to re-check it, get alerts when its answer changes, and respond to a finding. Reading your result.