Cargo Features
[dependencies]
proc-macro-error = { version = "1.0.4", default-features = false, features = ["syn-error"] }
- default = syn-error
-
The
syn-error
feature is set by default wheneverproc-macro-error
is added without
somewhere in the dependency tree.default-features = false - syn-error default = syn
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.