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
15,971 downloads per month
Used in 9 crates
(4 directly)
67KB
1.5K
SLoC
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:
- graphql-client:
features = ["client-graphql-client"]
- cynic:
features = ["client-cynic"]
Documentation
The documentation is quite limited at the moment, here are some sources:
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