2022-04-08 09:44:50 -05:00
|
|
|
`juniper_rocket` crate
|
|
|
|
======================
|
|
|
|
|
|
|
|
[![Crates.io](https://img.shields.io/crates/v/juniper_rocket.svg?maxAge=2592000)](https://crates.io/crates/juniper_rocket)
|
|
|
|
[![Documentation](https://docs.rs/juniper_rocket/badge.svg)](https://docs.rs/juniper_rocket)
|
|
|
|
[![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
|
|
|
|
|
|
|
- [Changelog](https://github.com/graphql-rust/juniper/blob/master/juniper_rocket/CHANGELOG.md)
|
|
|
|
|
|
|
|
[`rocket`] web server integration for [`juniper`] ([GraphQL] implementation for [Rust]).
|
|
|
|
|
|
|
|
|
2017-12-02 08:59:23 -06:00
|
|
|
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
2022-04-08 09:44:50 -05:00
|
|
|
For documentation, including guides and examples, check out [Juniper Book].
|
|
|
|
|
|
|
|
A basic usage example can also be found in the [API docs][`juniper_rocket`].
|
|
|
|
|
|
|
|
|
2017-12-02 08:59:23 -06:00
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2023-11-24 11:51:32 -06:00
|
|
|
Check [`examples/simple.rs`][1] for example code of a working [`rocket`] server with [GraphQL] handlers.
|
2022-04-08 09:44:50 -05:00
|
|
|
|
2017-12-02 09:09:08 -06:00
|
|
|
|
|
|
|
|
2017-12-02 08:59:23 -06:00
|
|
|
|
|
|
|
## License
|
|
|
|
|
2022-04-08 09:44:50 -05:00
|
|
|
This project is licensed under [BSD 2-Clause License](https://github.com/graphql-rust/juniper/blob/master/juniper_rocket/LICENSE).
|
|
|
|
|
2017-12-02 08:59:23 -06:00
|
|
|
|
|
|
|
|
2017-12-02 09:09:08 -06:00
|
|
|
|
2022-04-08 09:44:50 -05:00
|
|
|
[`juniper`]: https://docs.rs/juniper
|
|
|
|
[`juniper_rocket`]: https://docs.rs/juniper_rocket
|
|
|
|
[`rocket`]: https://docs.rs/rocket
|
|
|
|
[GraphQL]: http://graphql.org
|
|
|
|
[Juniper Book]: https://graphql-rust.github.io
|
|
|
|
[Rust]: https://www.rust-lang.org
|
2017-12-02 09:09:08 -06:00
|
|
|
|
2023-11-24 11:51:32 -06:00
|
|
|
[1]: https://github.com/graphql-rust/juniper/blob/master/juniper_rocket/examples/simple.rs
|