2022-04-08 09:44:50 -05:00
|
|
|
`juniper_hyper` crate
|
|
|
|
=====================
|
|
|
|
|
|
|
|
[![Crates.io](https://img.shields.io/crates/v/juniper_hyper.svg?maxAge=2592000)](https://crates.io/crates/juniper_hyper)
|
|
|
|
[![Documentation](https://docs.rs/juniper_hyper/badge.svg)](https://docs.rs/juniper_hyper)
|
|
|
|
[![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_hyper/CHANGELOG.md)
|
|
|
|
|
|
|
|
[`hyper`] web server integration for [`juniper`] ([GraphQL] implementation for [Rust]).
|
|
|
|
|
|
|
|
|
2018-09-01 22:02:01 -05: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_hyper`].
|
|
|
|
|
|
|
|
|
2018-09-01 22:02:01 -05:00
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2022-04-08 09:44:50 -05:00
|
|
|
Check [`examples/hyper_server.rs`][1] for example code of a working [`hyper`] server with [GraphQL] handlers.
|
|
|
|
|
2018-09-01 22:02:01 -05: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_hyper/LICENSE).
|
|
|
|
|
2018-09-01 22:02:01 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-08 09:44:50 -05:00
|
|
|
[`hyper`]: https://docs.rs/hyper
|
|
|
|
[`juniper`]: https://docs.rs/juniper
|
|
|
|
[`juniper_hyper`]: https://docs.rs/juniper_hyper
|
|
|
|
[GraphQL]: http://graphql.org
|
|
|
|
[Juniper Book]: https://graphql-rust.github.io
|
|
|
|
[Rust]: https://www.rust-lang.org
|
2018-09-01 22:02:01 -05:00
|
|
|
|
2022-04-08 09:44:50 -05:00
|
|
|
[1]: https://github.com/graphql-rust/juniper/blob/master/juniper_hyper/examples/hyper_server.rs
|