Cargo Features

[dependencies]
silent-tungstenite = { version = "0.1.0", default-features = false, features = ["handshake", "native-tls", "native-tls-vendored", "rustls-tls-native-roots", "rustls-tls-webpki-roots"] }
default = handshake

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

handshake default = data-encoding, http, httparse, sha1, url

Affects silent-tungstenite::client, silent-tungstenite::handshake

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

Enables vendored of native-tls

rustls-tls-native-roots = rustls, rustls-native-certs
rustls-tls-webpki-roots = rustls, webpki-roots

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.

data-encoding handshake
http handshake
httparse handshake
sha1 handshake
url handshake
rustls-native-certs rustls-tls-native-roots?

Enables rustls-native-certs ^0.6.0

webpki-roots rustls-tls-webpki-roots?

Enables webpki-roots ^0.25

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

Enables native-tls

rustls rustls-tls-native-roots? rustls-tls-webpki-roots?

Enables rustls ^0.21.0