2023-11-09 04:57:00 -06:00
|
|
|
`juniper_axum` crate
|
|
|
|
====================
|
|
|
|
|
|
|
|
[![Crates.io](https://img.shields.io/crates/v/juniper_axum.svg?maxAge=2592000)](https://crates.io/crates/juniper_axum)
|
|
|
|
[![Documentation](https://docs.rs/juniper_axum/badge.svg)](https://docs.rs/juniper_axum)
|
|
|
|
[![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)
|
2024-08-12 16:31:39 -05:00
|
|
|
[![Rust 1.75+](https://img.shields.io/badge/rustc-1.75+-lightgray.svg "Rust 1.75+")](https://blog.rust-lang.org/2023/12/28/Rust-1.75.0.html)
|
2023-11-09 04:57:00 -06:00
|
|
|
|
2024-03-20 15:12:40 -05:00
|
|
|
- [Changelog](https://github.com/graphql-rust/juniper/blob/juniper_axum-v0.1.0/juniper_axum/CHANGELOG.md)
|
2023-11-09 04:57:00 -06:00
|
|
|
|
|
|
|
[`axum`] web server integration for [`juniper`] ([GraphQL] implementation for [Rust]).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
|
|
For documentation, including guides and examples, check out [Juniper Book].
|
|
|
|
|
|
|
|
A basic usage example can also be found in the [API docs][`juniper_axum`].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
Check [`examples/simple.rs`][1] and [`examples/custom.rs`][1] for example code of a working [`axum`] server with [GraphQL] handlers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
2024-03-20 15:12:40 -05:00
|
|
|
This project is licensed under [BSD 2-Clause License](https://github.com/graphql-rust/juniper/blob/juniper_axum-v0.1.0/juniper_axum/LICENSE).
|
2023-11-09 04:57:00 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[`axum`]: https://docs.rs/axum
|
|
|
|
[`juniper`]: https://docs.rs/juniper
|
|
|
|
[`juniper_axum`]: https://docs.rs/juniper_axum
|
|
|
|
[GraphQL]: http://graphql.org
|
2024-03-20 09:53:25 -05:00
|
|
|
[Juniper Book]: https://graphql-rust.github.io/juniper
|
2023-11-09 04:57:00 -06:00
|
|
|
[Rust]: https://www.rust-lang.org
|
|
|
|
|
2024-03-20 15:12:40 -05:00
|
|
|
[1]: https://github.com/graphql-rust/juniper/blob/juniper_axum-v0.1.0/juniper_axum/examples/simple.rs
|
|
|
|
[2]: https://github.com/graphql-rust/juniper/blob/juniper_axum-v0.1.0/juniper_axum/examples/custom.rs
|