Decision Workspace
proc-macro2 vs syn vs quote
Side-by-side comparison of Rust crates
70
proc-macro2
stablev1.0.107
A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case.
75
syn
stablev3.0.6
Parser for Rust source code
72
quote
stablev1.0.47
Quasi-quoting macro quote!(...)
Core Metrics
| proc-macro2 | syn | quote | |
|---|---|---|---|
| Health Score | 70 | 75 | 72 |
| Total Downloads | 1.7B | 2.6B | 1.7B |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 158.8K | 180.3K | 175.1K |
| Releases | 163 | 359 | 95 |
| Last Updated | 83d ago | 23d ago | 83d ago |
| Age | 9y 3m | 10y 1m | 10y 1m |
Health Breakdown
proc-macro2
Maintenance
14
Quality
20
Community
13
Popularity
8
Documentation
15
syn
Maintenance
18
Quality
20
Community
14
Popularity
8
Documentation
15
quote
Maintenance
14
Quality
22
Community
13
Popularity
8
Documentation
15
Technical Details
| proc-macro2 | syn | quote | |
|---|---|---|---|
| Version | 1.0.107 | 3.0.6 | 1.0.47 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 6 | 15 | 3 |
| Crate Size | 60KB | 314KB | 32KB |
| Features | 4 | 12 | 2 |
| Yanked % | 1.2% | 4.7% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.71 | 1.71 | 1.71 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •syn leads with a health score of 75/100, but none of the options score above 80.
- •syn is depended on by 180.3K crates — strongest ecosystem trust.