Decision Workspace
proc-macro2 vs quote vs syn
Side-by-side comparison of Rust crates
67
proc-macro2
growingv1.0.106
A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case.
76
quote
stablev1.0.46
Quasi-quoting macro quote!(...)
74
syn
stablev2.0.118
Parser for Rust source code
Core Metrics
| proc-macro2 | quote | syn | |
|---|---|---|---|
| Health Score | 67 | 76 | 74 |
| Total Downloads | 1.3B | 1.3B | 1.9B |
| 30d Downloads | 58.9M | 64.5M | 85.2M |
| Dependents | 135.1K | 151.3K | 153.1K |
| Releases | 162 | 94 | 351 |
| Last Updated | 173d ago | 21d ago | 27d ago |
| Age | 9y | 9y 10m | 9y 10m |
Health Breakdown
proc-macro2
Maintenance
11
Quality
20
Community
13
Popularity
8
Documentation
15
quote
Maintenance
18
Quality
22
Community
13
Popularity
8
Documentation
15
syn
Maintenance
17
Quality
20
Community
14
Popularity
8
Documentation
15
Technical Details
| proc-macro2 | quote | syn | |
|---|---|---|---|
| Version | 1.0.106 | 1.0.46 | 2.0.118 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 6 | 3 | 15 |
| Crate Size | 60KB | 32KB | 306KB |
| Features | 4 | 2 | 12 |
| Yanked % | 1.2% | 0.0% | 4.8% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.68 | 1.71 | 1.71 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •quote leads with a health score of 76/100, but none of the options score above 80.
- •syn has the most downloads (1.9B), suggesting wider adoption.
- •syn is depended on by 153.1K crates — strongest ecosystem trust.