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)
|
|
|
|
|
|
|
|
- [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
|
|
|
|
|
2022-04-08 09:44:50 -05:00
|
|
|
Check [`examples/rocket_server.rs`][1] for example code of a working [`rocket`] server with [GraphQL] handlers.
|
|
|
|
|
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
|
|
|
|
2022-04-08 09:44:50 -05:00
|
|
|
[1]: https://github.com/graphql-rust/juniper/blob/master/juniper_rocket/examples/rocket_server.rs
|