13 releases (7 breaking)

new 0.8.1 Mar 21, 2024
0.8.0-rc.2 Feb 13, 2024
0.6.0 Oct 1, 2023
0.5.0 Jul 13, 2023
0.1.0 Apr 4, 2021

#17 in WebSocket

Download history 293/week @ 2023-12-07 325/week @ 2023-12-14 75/week @ 2023-12-21 469/week @ 2023-12-28 2676/week @ 2024-01-04 2131/week @ 2024-01-11 2245/week @ 2024-01-18 4520/week @ 2024-01-25 3830/week @ 2024-02-01 3536/week @ 2024-02-08 4170/week @ 2024-02-15 3012/week @ 2024-02-22 3525/week @ 2024-02-29 4262/week @ 2024-03-07 4619/week @ 2024-03-14 3145/week @ 2024-03-21

15,971 downloads per month
Used in 9 crates (4 directly)

Apache-2.0

67KB
1.5K 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 and ws-stream-wasm.

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–4.5MB
~86K SLoC