Cargo Features
[dependencies]
slack_api = { version = "0.23.1", default-features = false, features = ["async", "sync", "reqwest", "reqwest_blocking", "with_rustls", "with_native_tls"] }
- default = reqwest, with_native_tls
-
These default features are set whenever
slack_api
is added without
somewhere in the dependency tree.default-features = false - async reqwest = async-trait
- sync reqwest_blocking?
-
Affects
slack_api::sync
… - reqwest default = async, reqwest_
- reqwest_blocking = sync
-
Enables blocking of reqwest ^0.10
- with_rustls
-
Enables rustls-tls of reqwest ^0.10
- with_native_tls default
-
Enables native-tls of reqwest ^0.10
reqwest:
Enables native-tls specific functionality not available by default.
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.