Cargo Features
[dependencies]
or-rs-macros = { version = "0.1.1", default-features = false, features = ["macro_error_debugging"] }
- default = proc-macro2
-
The
proc-macro2
feature is set by default wheneveror-rs-macros
is added without
somewhere in the dependency tree.default-features = false - macro_error_debugging = colored
-
Enables span-locations of proc-macro2
proc-macro2:
Expose methods Span::start and Span::end which give the line/column location of a token.
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.