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
somewhere in the dependency tree.default-features = false - 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.