20 releases (10 breaking)

new 0.11.1 Oct 29, 2024
0.10.2 Aug 21, 2024
0.10.1 Jun 8, 2024
0.8.1 Mar 21, 2024
0.1.0 Apr 4, 2021

#16 in WebSocket

Download history 4551/week @ 2024-07-11 2730/week @ 2024-07-18 3332/week @ 2024-07-25 3503/week @ 2024-08-01 3378/week @ 2024-08-08 3160/week @ 2024-08-15 3660/week @ 2024-08-22 4840/week @ 2024-08-29 4297/week @ 2024-09-05 4800/week @ 2024-09-12 3844/week @ 2024-09-19 2258/week @ 2024-09-26 3083/week @ 2024-10-03 2047/week @ 2024-10-10 4404/week @ 2024-10-17 4380/week @ 2024-10-24

14,381 downloads per month
Used in 10 crates (5 directly)

Apache-2.0

55KB
1K SLoC

GraphQL Websocket Client

Runtime agnostic graphql websocket client

Crate Info API Docs Discord Chat

Examples | Changelog

Overview

The goal of this library is to provide a runtime agnostic implementation for GraphQL-over-Websockets.

The library only supports subscriptions for now but will eventually support queries and mutations.

It supports the websocket libraries async-tungstenite, tokio-tungstenite and ws-stream-wasm, and

Integrations

The library offers integrations with some popular GraphQL clients with feature flags:

Documentation

The documentation is quite limited at the moment, here are some sources:

  1. The provided examples
  2. The reference documentation on docs.rs

Logging

By default, the library will log some messages at the trace level to help you debug. It is possible to turn off the logging entirely by using the no-logging feature.

Dependencies

~1.4–5MB
~95K SLoC