Cargo Features

Snowboard has no features set by default.

[dependencies]
snowboard = { version = "1.0.3", features = ["full", "async", "tls", "json", "websocket"] }
full = async, json, tls, websocket
async full? = async-std
tls full? = native-tls

Affects server::Stream

json full? = serde, serde_json
websocket full? = base64, sha1, tungstenite

Affects snowboard::WebSocket, ws::maybe_websocket

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.

async-std async?
native-tls tls?
serde_json json?
serde json?
tungstenite websocket?
base64 websocket?

Enables base64 ^0.21.5

sha1 websocket?