Cargo Features
[dependencies]
rumqttc = { version = "0.24.0", default-features = false, features = ["use-rustls", "use-native-tls", "websocket", "proxy", "url"] }
- default = use-rustls
-
The
use-rustls
feature is set by default wheneverrumqttc
is added without
somewhere in the dependency tree.default-features = false - use-rustls default
-
Enables rustls-native-certs ^0.7.0, rustls-pemfile, rustls-webpki, and tokio-rustls ^0.25.0
tokio-rustls:
Optional
rustlsAffects
tls::rustls_connector
,rumqttc::TlsConfiguration
… - use-native-tls
-
Enables native-tls and tokio-native-tls
tokio-native-tls:
native-tls
Affects
tls::native_tls_connector
,rumqttc::TlsConfiguration
… - websocket
-
Enables async-tungstenite ^0.25.0, http, and ws_stream_tungstenite ^0.13.0
async-tungstenite:
websockets
- proxy
-
Enables async-http-proxy