Cargo Features
[dependencies]
async-tungstenite = { version = "0.28.0", default-features = false, features = ["handshake", "async-std-runtime", "tokio-runtime", "gio-runtime", "async-tls", "async-native-tls", "tokio-native-tls", "tokio-rustls-manual-roots", "tokio-rustls-webpki-roots", "tokio-rustls-native-certs", "tokio-openssl", "verbose-logging", "url"] }
- default = handshake
-
The
handshake
feature is set by default wheneverasync-tungstenite
is added without
somewhere in the dependency tree.default-features = false - handshake default async-std-runtime? async-tls? gio-runtime? tokio-runtime?
-
Enables handshake of tungstenite
Affects
async-tungstenite::client_async
,async-tungstenite::client_async_with_config
,async-tungstenite::accept_async
,async-tungstenite::accept_async_with_config
,async-tungstenite::accept_hdr_async
,async-tungstenite::accept_hdr_async_with_config
… - async-std-runtime async-native-tls? = async-std, handshake
-
Affects
async-tungstenite::async_std
… - tokio-runtime __rustls-tls? tokio-native-tls? tokio-openssl? = handshake, tokio
-
Affects
async-tungstenite::tokio
… - gio-runtime = gio, glib, handshake
-
Affects
async-tungstenite::gio
… - async-tls = handshake, real-async-tls
-
Affects
async-tungstenite::async_tls
,async_std::connect_async_with_tls_connector
,async_std::connect_async_with_tls_connector_and_config
,tokio::client_async_tls
,tokio::client_async_tls_with_config
,tokio::client_async_tls_with_connector
,tokio::connect_async_with_tls_connector
,tokio::connect_async_with_tls_connector_and_config
… - async-native-tls = async-std-runtime, real-async-native-tls
-
Enables native-tls of tungstenite
Affects
async_std::client_async_tls
,async_std::client_async_tls_with_config
,async_std::client_async_tls_with_connector
,async_std::connect_async_with_tls_connector
,async_std::connect_async_with_tls_connector_and_config
… - tokio-native-tls = real-native-tls, real-tokio-native-tls, tokio-runtime
-
Enables native-tls of tungstenite
Affects
tokio::client_async_tls
,tokio::client_async_tls_with_config
,tokio::client_async_tls_with_connector
,tokio::connect_async_with_tls_connector
,tokio::connect_async_with_tls_connector_and_config
… - tokio-rustls-manual-roots = __rustls-tls
-
Affects
tokio::client_async_tls_with_connector
,tokio::connect_async_with_tls_connector
,tokio::connect_async_with_tls_connector_and_config
… - tokio-rustls-webpki-roots = __rustls-tls, webpki-roots
-
Affects
tokio::client_async_tls
,tokio::client_async_tls_with_config
,tokio::client_async_tls_with_connector
,tokio::connect_async_with_tls_connector
,tokio::connect_async_with_tls_connector_and_config
… - tokio-rustls-native-certs = __rustls-tls, rustls-native-certs
-
Affects
tokio::client_async_tls
,tokio::client_async_tls_with_config
,tokio::client_async_tls_with_connector
,tokio::connect_async_with_tls_connector
,tokio::connect_async_with_tls_connector_and_config
… - tokio-openssl = openssl, real-tokio-openssl, tokio-runtime
-
Affects
tokio::client_async_tls
,tokio::client_async_tls_with_config
,tokio::client_async_tls_with_connector
,tokio::connect_async_with_tls_connector
,tokio::connect_async_with_tls_connector_and_config
… - verbose-logging
- url
-
Enables url of tungstenite
- __rustls-tls tokio-rustls-manual-roots? tokio-rustls-native-certs? tokio-rustls-webpki-roots? = real-tokio-rustls, rustls-pki-types, tokio-runtime
-
Enables rustls and rustls-pki-types of tungstenite
Affects
tokio::client_async_tls
,tokio::client_async_tls_with_config
…
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.
- async-std async-std-runtime?
- tokio tokio-runtime?
- gio gio-runtime?
- glib gio-runtime?
- openssl tokio-openssl?
- real-async-native-tls async-native-tls?
-
Enables async-native-tls
- real-async-tls async-tls?
-
Enables async-tls
- real-native-tls tokio-native-tls?
-
Enables native-tls
- real-tokio-native-tls tokio-native-tls?
-
Enables tokio-native-tls
- real-tokio-openssl tokio-openssl?
-
Enables tokio-openssl
- real-tokio-rustls __rustls-tls?
-
Enables tokio-rustls
- rustls-native-certs tokio-rustls-native-certs?
- rustls-pki-types __rustls-tls?
- webpki-roots tokio-rustls-webpki-roots?