Crate features / quote
Feature flags · quote 1.0.47 · from crates.io 2026-10-24
quote features: what each one does, and the line to copy
Short answerquote 1.0.47 has 1 feature. By default it turns on proc-macro; add default-features = false to start from nothing. It needs Rust 1.71 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
proc-macro | yes | proc-macro2/proc-macro |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version quote declares (rust-version), and the release that changed it:
- 1.0.10 (2021-10-05): Rust 1.31
- 1.0.31 (2023-07-16): Rust 1.56
- 1.0.41 (2025-09-29): Rust 1.60
- 1.0.42 (2025-11-06): Rust 1.68
- 1.0.45 (2026-03-03): Rust 1.71
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p quote --precise <version>, or use resolver 3, which picks compatible versions for you.
More on quote
Real downloads, dependents and alternatives: quote crate data (5M real downloads a day, 18,227 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on itquote crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?