Cargo Features
[dependencies]
discord-bots-org = { version = "0.1.0", default-features = false, features = ["reqwest-async-support", "reqwest-sync-support"] }
- default = reqwest-sync-support
-
The
reqwest-sync-support
feature is set by default wheneverdiscord-bots-org
is added without
somewhere in the dependency tree.default-features = false - reqwest-async-support = futures-preview, reqwest
-
Affects
reqwest::r#async
,bridge::reqwest
… - reqwest-sync-support default = reqwest
-
Affects
reqwest::sync
,bridge::reqwest
…
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.