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

#17 in WebSocket

Download history 3440/week @ 2024-07-30 3769/week @ 2024-08-06 2647/week @ 2024-08-13 4159/week @ 2024-08-20 3822/week @ 2024-08-27 5033/week @ 2024-09-03 4690/week @ 2024-09-10 3640/week @ 2024-09-17 3316/week @ 2024-09-24 2687/week @ 2024-10-01 2264/week @ 2024-10-08 3464/week @ 2024-10-15 4225/week @ 2024-10-22 4495/week @ 2024-10-29 6309/week @ 2024-11-05 4135/week @ 2024-11-12

20,205 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