Cargo Features

[dependencies]
tokio-tungstenite_wasi = { version = "0.18.0", default-features = false, features = ["connect", "handshake", "native-tls", "native-tls-vendored", "rustls-tls-native-roots", "rustls-tls-webpki-roots", "stream"] }
default = connect, handshake

These default features are set whenever tokio-tungstenite_wasi is added without default-features = false somewhere in the dependency tree.

connect default = handshake, stream

Enables net of tokio_wasi

handshake default __rustls-tls? connect native-tls?

Enables handshake of tungstenite ^0.18.0

Affects tokio-tungstenite_wasi::client_async, tokio-tungstenite_wasi::client_async_with_config, tokio-tungstenite_wasi::accept_async, tokio-tungstenite_wasi::accept_async_with_config, tokio-tungstenite_wasi::accept_hdr_async, tokio-tungstenite_wasi::accept_hdr_async_with_config

native-tls native-tls-vendored? = handshake, native-tls-crate, stream, tokio-native-tls

Enables native-tls of tungstenite ^0.18.0

Affects connect::connect_async_tls_with_config, tls::client_async_tls

native-tls-vendored = native-tls

Enables vendored of native-tls, native-tls-vendored of tungstenite ^0.18.0

rustls-tls-native-roots = __rustls-tls, rustls-native-certs
rustls-tls-webpki-roots = __rustls-tls, webpki-roots
stream __rustls-tls? connect native-tls?
__rustls-tls rustls-tls-native-roots? rustls-tls-webpki-roots? = handshake, rustls, stream, tokio-rustls, webpki

Enables rustls and webpki of tungstenite ^0.18.0

Affects connect::connect_async_tls_with_config, tls::client_async_tls

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.

rustls __rustls-tls?

Enables rustls ^0.20.0

rustls-native-certs rustls-tls-native-roots?

Enables rustls-native-certs ^0.6.1

tokio-native-tls native-tls?
tokio-rustls __rustls-tls?

Enables tokio-rustls ^0.23.0

webpki __rustls-tls?
webpki-roots rustls-tls-webpki-roots?

Enables webpki-roots ^0.22.1

native-tls-crate native-tls? native-tls-vendored?

Enables native-tls