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 whenever safe-quote is added without default-features = false somewhere in the dependency tree.

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