Cargo Features

ewebsock has no features set by default.

[dependencies]
ewebsock = { version = "0.5.0", features = ["tls", "tokio"] }
tls

Enables rustls-tls-webpki-roots of tungstenite

tokio

Opt-in to the tokio executor.

This adds a lot of dependencies, but may yield lower latency and CPU usage when using ws_connect.

Enables async-stream, futures, futures-util, tokio, and tokio-tungstenite