Integrating with Rocket

Rocket is a web framework for Rust that makes it simple to write fast web applications without sacrificing flexibility or type safety. All with minimal code. Rocket does not work on Rust's stable channel and instead requires the nightly channel.

Juniper's Rocket integration is contained in the juniper_rocket crate:

Cargo.toml

[dependencies]
juniper = "0.10"
juniper_rocket = "0.2.0"

Included in the source is a small example which sets up a basic GraphQL and GraphiQL handler.

results matching ""

    No results matching ""