Cargo Features
[dependencies]
safe-proc-macro2 = { version = "1.0.67", default-features = false, features = ["proc-macro", "span-locations", "nightly"] }
- default = proc-macro
-
The
proc-macro
feature is set by default wheneversafe-proc-macro2
is added without
somewhere in the dependency tree.default-features = false - proc-macro default
- span-locations
-
Expose methods Span::start and Span::end which give the line/column location of a token.
- nightly
-
This feature no longer means anything.