Cargo Features

[dependencies]
graphql-ws-client = { version = "0.10.1", default-features = false, features = ["logging", "tungstenite", "client-cynic", "client-graphql-client", "ws_stream_wasm"] }
default = logging

The logging feature is set by default whenever graphql-ws-client is added without default-features = false somewhere in the dependency tree.

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.

cynic client-cynic?
graphql_client client-graphql-client?