Cargo Features
[dependencies]
spotflow-rumqttc-fork = { version = "0.12.0", default-features = false, features = ["use-rustls", "use-native-tls", "websocket", "url"] }
- default = use-rustls
-
The
use-rustls
feature is set by default wheneverspotflow-rumqttc-fork
is added without
somewhere in the dependency tree.default-features = false - use-rustls default = rustls-pemfile, tokio-rustls
-
Affects
tls::rustls_connector
,spotflow-rumqttc-fork::TlsConfiguration
… - use-native-tls = native-tls, tokio-native-tls
-
Affects
spotflow-rumqttc-fork::TlsConfiguration
… - websocket = async-tungstenite, http, ws_stream_tungstenite
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.
- tokio-rustls use-rustls
-
Enables tokio-rustls ^0.23.2
Optional
rustls - rustls-pemfile use-rustls
-
Enables rustls-pemfile ^0.3.0
- async-tungstenite websocket?
-
Enables async-tungstenite ^0.16.1
websockets
- ws_stream_tungstenite websocket?
-
Enables ws_stream_tungstenite ^0.7.0
- http websocket?
-
Enables http ^0.2
- tokio-native-tls use-native-tls?
-
Enables tokio-native-tls
native-tls
- native-tls use-native-tls?
- url implicit feature
-
Enables url
url:
URL library for Rust, based on the WHATWG URL Standard
Affects
spotflow-rumqttc-fork::OptionError
…