Cargo Features

[dependencies]
workflow-websocket = { version = "0.12.1", default-features = false, features = ["wasm32-sdk", "ping-pong", "native-tls", "native-tls-vendored", "rustls-tls-native-roots", "rustls-tls-webpki-roots"] }
wasm32-sdk

enable to make connection options available in the generated TypeScript bindings

ping-pong

enable to provide manual control over the WebSocket Ping messages

default = native-tls

The native-tls feature is set by default whenever workflow-websocket is added without default-features = false somewhere in the dependency tree.

native-tls default

Enables native-tls of tokio-tungstenite

native-tls-vendored

Enables native-tls-vendored of tokio-tungstenite

rustls-tls-native-roots

Enables rustls-tls-native-roots of tokio-tungstenite

rustls-tls-webpki-roots

Enables rustls-tls-webpki-roots of tokio-tungstenite