Cargo Features
[dependencies]
mwbot = { version = "0.7.0-rc.3", default-features = false, features = ["generators", "linter", "upload", "wikibase"] }
- 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
… - wikibase
-
Affects
generators::unconnected_pages
…
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.