Cargo Features
[dependencies]
mwbot = { version = "0.7.0-rc.2", default-features = false, features = ["generators", "linter", "upload"] }
- default = generators, upload
-
These default features are set whenever
mwbot
is added without
somewhere in the dependency tree.default-features = false - generators default = mwbot_derive
-
tokio:
Includes basic task execution capabilities
Affects
mwbot::generators
… - linter
-
Affects
generators::lint
… - upload default
-
Affects
mwbot::file
,mwbot::upload
…
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.