20 releases (10 breaking)

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

#18 in WebSocket

Download history 3652/week @ 2024-08-24 4976/week @ 2024-08-31 4021/week @ 2024-09-07 4183/week @ 2024-09-14 3953/week @ 2024-09-21 2163/week @ 2024-09-28 2625/week @ 2024-10-05 2677/week @ 2024-10-12 4520/week @ 2024-10-19 4328/week @ 2024-10-26 5968/week @ 2024-11-02 4504/week @ 2024-11-09 4438/week @ 2024-11-16 4422/week @ 2024-11-23 4142/week @ 2024-11-30 2920/week @ 2024-12-07

16,608 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
~93K SLoC