Cargo Features
[dependencies]
slack-chat-api = { version = "0.7.0", default-features = false, features = ["httpcache", "native-tls", "rustls-tls"] }
- default = rustls-tls
-
The
rustls-tls
feature is set by default wheneverslack-chat-api
is added without
somewhere in the dependency tree.default-features = false - httpcache = dirs
-
enable etag-based http_cache functionality
- native-tls = openssl
-
Enables default-tls of reqwest ^0.11.14
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- rustls-tls default = pem, ring
-
Enables rustls-tls of reqwest ^0.11.14
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.
- dirs httpcache?
-
Enables dirs ^3.0.2
- openssl native-tls?
- pem rustls-tls
-
Enables pem ^1.1.0
- ring rustls-tls
-
Enables ring ^0.16