Cargo Features
[dependencies]
doubter = { version = "0.1.0", default-features = false, features = ["hack"] }
- default = hack
-
The
hack
feature is set by default wheneverdoubter
is added without
somewhere in the dependency tree.default-features = false - hack default = proc-macro-hack
-
uses
proc-macro-hack
to define the procedural macro using only Macros 1.1.Enables proc-macro-hack of doubter-macros
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.
- proc-macro-hack hack
-
Enables proc-macro-hack ^0.4