Cargo Features
[dependencies]
synstructure = { version = "0.13.2", default-features = false, features = ["proc-macro"] }
- default = proc-macro
-
The
proc-macrofeature is set by default wheneversynstructureis added withoutsomewhere in the dependency tree.default-features = false - proc-macro default
-
Enables proc-macro of proc-macro2, quote, and syn
quote:
Disabling the proc-macro feature removes the dynamic library dependency on libproc_macro in the rustc compiler.
Affects
synstructure::MacroResult.into_stream…