Cargo Features

[dependencies]
tokio-tungstenite-typed = { version = "0.1.1", default-features = false, features = ["json", "msgpack", "native-tls", "rustls-tls-native-roots", "rustls-tls-webpki-roots"] }
default = json

The json feature is set by default whenever tokio-tungstenite-typed is added without default-features = false somewhere in the dependency tree.

json default = serde_json

Affects tokio-tungstenite-typed::TextJsonCodec, tokio-tungstenite-typed::BinaryJsonCodec

msgpack = rmp-serde

Affects tokio-tungstenite-typed::MsgPackCodec

native-tls

Enables native-tls of tokio-tungstenite ^0.21

rustls-tls-native-roots

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

rustls-tls-webpki-roots

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

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.

serde_json json
rmp-serde msgpack?