2022-04-08 09:44:50 -05:00
`juniper_subscriptions` crate
=============================
[![Crates.io ](https://img.shields.io/crates/v/juniper_subscriptions.svg?maxAge=2592000 )](https://crates.io/crates/juniper_subscriptions)
[![Documentation ](https://docs.rs/juniper_subscriptions/badge.svg )](https://docs.rs/juniper_subscriptions)
[![CI ](https://github.com/graphql-rust/juniper/workflows/CI/badge.svg?branch=master "CI" )](https://github.com/graphql-rust/juniper/actions?query=workflow%3ACI+branch%3Amaster)
2023-11-01 13:00:05 -05:00
[![Rust 1.73+ ](https://img.shields.io/badge/rustc-1.73+-lightgray.svg "Rust 1.73+" )](https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html)
2022-04-08 09:44:50 -05:00
2024-03-20 11:26:52 -05:00
- [Changelog ](https://github.com/graphql-rust/juniper/blob/juniper_subscriptions-v0.17.0/juniper_subscriptions/CHANGELOG.md )
2022-04-08 09:44:50 -05:00
This repository contains `SubscriptionCoordinator` and `SubscriptionConnection` implementations for
[`juniper`], a [GraphQL] library for Rust.
You need both this and [`juniper`] crate for usage.
2020-03-18 22:31:36 -05:00
## Documentation
2022-04-08 09:44:50 -05:00
For this crate's documentation, check out [API docs ](https://docs.rs/juniper_subscriptions ).
For `SubscriptionCoordinator` and `SubscriptionConnection` documentation, check out [`juniper` API docs][`juniper`].
2020-03-18 22:31:36 -05:00
## Examples
2023-09-21 16:24:41 -05:00
Check [`juniper_warp/examples/subscription.rs`][1] for example code of a working [`warp`] server with [GraphQL] subscription handlers.
2022-04-08 09:44:50 -05:00
2020-03-18 22:31:36 -05:00
## License
2024-03-20 11:26:52 -05:00
This project is licensed under [BSD 2-Clause License ](https://github.com/graphql-rust/juniper/blob/juniper_subscriptions-v0.17.0/juniper_subscriptions/LICENSE ).
2020-03-18 22:31:36 -05:00
2022-04-08 09:44:50 -05:00
[`juniper`]: https://docs.rs/juniper
[`warp`]: https://docs.rs/warp
2020-03-18 22:31:36 -05:00
[GraphQL]: http://graphql.org
2022-04-08 09:44:50 -05:00
2024-03-20 11:26:52 -05:00
[1]: https://github.com/graphql-rust/juniper/blob/juniper_subscriptions-v0.17.0/juniper_warp/examples/subscription.rs