Cargo Features

re_ws_comms has no features set by default.

[dependencies]
re_ws_comms = { version = "0.15.1", features = ["client", "server", "tls"] }
client = ewebsock

Enable the client (viewer-side).

server = tungstenite

Enable the server.

Enables futures-channel, futures-util, parking_lot, re_smart_channel, tokio, and tokio-tungstenite ^0.20.0

re_smart_channel:

Server:

tls

Enable encryption using TLS support (wss://).

Enables rustls-tls-webpki-roots of tungstenite ^0.20 and tls of ewebsock

Client:

Affects re_ws_comms::PROTOCOL

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.

ewebsock client? tls?
tungstenite not wasm32 server? tls?

Enables tungstenite ^0.20