Cargo Features

[dependencies]
glimesh = { version = "0.9.0", default-features = false, features = ["http", "websocket"] }
default = http, websocket

These default features are set whenever glimesh is added without default-features = false somewhere in the dependency tree.

http default

Affects conn::http, error::HttpConnectionError

websocket default = async-tungstenite, backoff, serde_json, serde_tuple, serde_urlencoded, tokio-util, uuid

Enables socket of glimesh-protocol, io-util, macros, rt-multi-thread and time of tokio

Affects conn::ws, error::WebsocketConnectionError

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-tungstenite websocket

Enables async-tungstenite ^0.20

serde_urlencoded websocket
tokio-util websocket
serde_tuple websocket

Enables serde_tuple ^0.5

uuid websocket
serde_json websocket
backoff websocket