Cargo Features

re_ws_comms has no features set by default.

[dependencies]
re_ws_comms = { version = "0.19.1", 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 ^0.6.0

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?

Enables ewebsock ^0.6.0