Cargo Features
[dependencies]
quote = { version = "1.0.37", default-features = false, features = ["proc-macro"] }
- default = proc-macro
-
The
proc-macro
feature is set by default wheneverquote
is added without
somewhere in the dependency tree.default-features = false - proc-macro default
-
Disabling the proc-macro feature removes the dynamic library dependency on libproc_macro in the rustc compiler.
Enables proc-macro of proc-macro2