Cargo Features
[dependencies]
safe-quote = { version = "1.0.15", default-features = false, features = ["proc-macro"] }
- default = proc-macro
-
The
proc-macro
feature is set by default wheneversafe-quote
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 safe-proc-macro2