Cargo Features
[dependencies]
ac-rumqttc = { version = "0.21.0-alpha.2", default-features = false, features = ["use-rustls", "use-native-tls", "websocket", "url"] }
- default = use-rustls
-
The
use-rustls
feature is set by default wheneverac-rumqttc
is added without
somewhere in the dependency tree.default-features = false - use-rustls default
-
Enables rustls-native-certs ^0.6, rustls-pemfile ^1, and tokio-rustls ^0.23
tokio-rustls:
Optional
rustlsAffects
tls::rustls_connector
,ac-rumqttc::TlsConfiguration
… - use-native-tls
-
Enables native-tls and tokio-native-tls
tokio-native-tls:
native-tls
Affects
tls::native_tls_connector
,ac-rumqttc::TlsConfiguration
… - websocket
-
Enables async-tungstenite ^0.16, http ^0.2, and ws_stream_tungstenite ^0.7
async-tungstenite:
websockets