2 releases
0.1.1 | May 12, 2024 |
---|---|
0.1.0 | May 12, 2024 |
#29 in #messagepack
17KB
326 lines
tokio-tungstenite-typed
tokio_tungstenite::WebSocketStream
with type safe messages.
More information about this crate can be found in the crate documentation.
lib.rs
:
Feature flags
The following features are available:
json
: EnablesTextJsonCodec
andBinaryJsonCodec
which encodes message as JSON usingserde_json
. Enabled by default.msgpack
: EnablesMsgPackCodec
which encodes message as MessagePack usingrmp-serde
.native-tls
,rustls-tls-native-roots
,rustls-tls-webpki-roots
: Enables the specified tls backend in tungstenite
Dependencies
~4–15MB
~197K SLoC