Cargo Features

[dependencies]
mattermost_api = { version = "0.6.0", default-features = false, features = ["ws-keep-alive", "native-tls", "rustls-native-certs", "rustls"] }
default = native-tls, ws-keep-alive

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

ws-keep-alive default

Enables tokio

native-tls default

Enables tokio-native-tls of async-tungstenite ^0.16.1 and native-tls of reqwest ^0.11.8

reqwest:

Enables native-tls specific functionality not available by default.

rustls-native-certs

Enables tokio-rustls-native-certs of async-tungstenite ^0.16.1, rustls-tls-native-roots of reqwest ^0.11.8

rustls

Enables tokio-rustls-webpki-roots of async-tungstenite ^0.16.1, rustls-tls of reqwest ^0.11.8

mattermost_api has 5 features without comments.