Cargo Features
[dependencies]
graphql-ws-client = { version = "0.11.1", default-features = false, features = ["logging", "tungstenite", "client-cynic", "client-graphql-client", "ws_stream_wasm"] }
- default = logging
-
The
logging
feature is set by default whenevergraphql-ws-client
is added without
somewhere in the dependency tree.default-features = false - logging default
-
Enables log
- tungstenite
-
Enables tungstenite
- client-cynic = cynic
- client-graphql-client = graphql_client
- ws_stream_wasm
-
Enables pharos and ws_stream_wasm
Affects
graphql-ws-client::ws_stream_wasm
…
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.