Cargo Features

re_ws_comms has no features set by default.

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

Enable the client (viewer-side).

server

Enable the server.

Enables handshake of tungstenite ^0.20 and parking_lot, polling ^2.2.0, and re_smart_channel

parking_lot:

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?