dtolnay/quote
Rust quasi-quoting observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 39
- age_days: 3651
- days_rel: 46
- days_push: 11
- n_releases_24m: 10
Adoption not part of the score
1577 stars · 113 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Rust crate providing the quote! macro for turning Rust syntax tree data structures into token streams of source code. It is primarily used for writing procedural macros but is a general-purpose quasi-quoting library.
Use cases
- generate Rust code inside a procedural macro
- turn syntax tree data structures back into tokens
- interpolate variables into Rust source code templates
- build custom derive macro implementations
- write code-as-data for metaprogramming
When to choose
- you are writing Rust procedural macros and need to emit token streams
- you want readable, syntax-highlighted code templates for code generation
- you already use syn and need to convert syntax trees back to tokens
When to avoid
- you need to parse Rust code rather than generate it (use syn)
- you are generating code in a language other than Rust
- you only need simple string-based code generation without token-level fidelity
Facets
library · maturity stable
parser developer-tools compiler developer-tools programming-languages parsers rust quasi-quoting proc-macro token-stream metaprogramming syn
2 sources
- readme: https://github.com/dtolnay/quote · fetched 2026-08-28 · 68e1ab79ebc3
- registry_crates: https://crates.io/api/v1/crates/quote · fetched 2026-08-29 · ccd601aa9450
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dtolnay/quote | main | 93 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem