Cargo Features

[dependencies]
ng-async-tungstenite = { version = "0.22.2", 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"] }
default = handshake

The handshake feature is set by default whenever ng-async-tungstenite is added without default-features = false somewhere in the dependency tree.

handshake default async-std-runtime? async-tls? gio-runtime? tokio-runtime?

Enables handshake of ng-tungstenite

Affects ng-async-tungstenite::client_async, ng-async-tungstenite::client_async_with_config, ng-async-tungstenite::accept_async, ng-async-tungstenite::accept_async_with_config, ng-async-tungstenite::accept_hdr_async, ng-async-tungstenite::accept_hdr_async_with_config

async-std-runtime async-native-tls? = async-std, handshake

Affects ng-async-tungstenite::async_std

tokio-runtime __rustls-tls? tokio-native-tls? tokio-openssl? = handshake, tokio

Affects ng-async-tungstenite::tokio

gio-runtime = gio, glib, handshake

Affects ng-async-tungstenite::gio

async-tls = handshake, real-async-tls

Affects ng-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 ng-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 ng-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
__rustls-tls tokio-rustls-manual-roots? tokio-rustls-native-certs? tokio-rustls-webpki-roots? = real-tokio-rustls, tokio-runtime

Enables rustls and webpki of ng-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?

Enables gio ^0.17

glib gio-runtime?

Enables glib ^0.17

openssl tokio-openssl?
real-async-native-tls async-native-tls?

Enables async-native-tls

real-async-tls async-tls?

Enables async-tls ^0.12

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 ^0.24

rustls-native-certs tokio-rustls-native-certs?

Enables rustls-native-certs ^0.6

webpki-roots tokio-rustls-webpki-roots?

Enables webpki-roots ^0.23