Crate features / synstructure
Feature flags · synstructure 0.14.0 · from crates.io 2026-10-24
synstructure features: what each one does, and the line to copy
Short answersynstructure 0.14.0 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, syn/proc-macro, quote/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 synstructure declares (rust-version), and the release that changed it:
- 0.14.0 (2026-07-30): Rust 1.71
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p synstructure --precise <version>, or use resolver 3, which picks compatible versions for you.
More on synstructure
Real downloads, dependents and alternatives: synstructure crate data (2.6M real downloads a day, 146 dependents).
docs.rs feature list · crates.io · license MIT · edition 2018
Up next
Before you depend on itsynstructure crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?