2022-04-08 17:44:50 +03:00
|
|
|
`juniper_actix` crate
|
|
|
|
=====================
|
|
|
|
|
|
|
|
[](https://crates.io/crates/juniper_actix)
|
|
|
|
[](https://docs.rs/juniper_actix)
|
|
|
|
[](https://github.com/graphql-rust/juniper/actions?query=workflow%3ACI+branch%3Amaster)
|
2024-08-12 23:31:39 +02:00
|
|
|
[](https://blog.rust-lang.org/2023/12/28/Rust-1.75.0.html)
|
2022-04-08 17:44:50 +03:00
|
|
|
|
2024-07-23 16:08:29 +03:00
|
|
|
- [Changelog](https://github.com/graphql-rust/juniper/blob/juniper_actix-v0.6.0/juniper_actix/CHANGELOG.md)
|
2022-04-08 17:44:50 +03:00
|
|
|
|
|
|
|
[`actix-web`] web server integration for [`juniper`] ([GraphQL] implementation for [Rust]).
|
|
|
|
|
|
|
|
It's inspired and some parts are copied from [`juniper_warp`] crate.
|
|
|
|
|
|
|
|
|
2020-04-21 03:21:02 -03:00
|
|
|
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
2022-04-08 17:44:50 +03:00
|
|
|
For documentation, including guides and examples, check out [Juniper Book].
|
|
|
|
|
|
|
|
A basic usage example can also be found in the [API docs][`juniper_actix`].
|
|
|
|
|
|
|
|
|
2020-04-21 03:21:02 -03:00
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2023-11-09 11:57:00 +01:00
|
|
|
Check [`examples/subscription.rs`][1] for example code of a working [`actix-web`] server with [GraphQL] handlers.
|
2022-04-08 17:44:50 +03:00
|
|
|
|
2020-04-21 03:21:02 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
2024-07-23 16:08:29 +03:00
|
|
|
This project is licensed under [BSD 2-Clause License](https://github.com/graphql-rust/juniper/blob/juniper_actix-v0.6.0/juniper_actix/LICENSE).
|
2022-04-08 17:44:50 +03:00
|
|
|
|
2020-04-21 03:21:02 -03:00
|
|
|
|
|
|
|
|
2022-04-08 17:44:50 +03:00
|
|
|
|
|
|
|
[`actix-web`]: https://docs.rs/actix-web
|
|
|
|
[`juniper`]: https://docs.rs/juniper
|
|
|
|
[`juniper_actix`]: https://docs.rs/juniper_actix
|
|
|
|
[`juniper_warp`]: https://docs.rs/juniper_warp
|
2020-04-21 03:21:02 -03:00
|
|
|
[GraphQL]: http://graphql.org
|
2024-03-20 15:53:25 +01:00
|
|
|
[Juniper Book]: https://graphql-rust.github.io/juniper
|
2022-04-08 17:44:50 +03:00
|
|
|
[Rust]: https://www.rust-lang.org
|
|
|
|
|
2024-07-23 16:08:29 +03:00
|
|
|
[1]: https://github.com/graphql-rust/juniper/blob/juniper_actix-v0.6.0/juniper_actix/examples/subscription.rs
|
2022-04-08 17:44:50 +03:00
|
|
|
|