Cargo Features

[dependencies]
mwbot = { version = "0.6.1", default-features = false, features = ["generators", "linter", "upload"] }
default = generators, upload

These default features are set whenever mwbot is added without default-features = false somewhere in the dependency tree.

generators default = mwbot_derive

Enables rt of tokio

tokio:

Includes basic task execution capabilities

Affects mwbot::generators

linter

Affects generators::lint

upload default

Enables upload of mwapi

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.

mwbot_derive generators