async_graphql_axum/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Async-graphql integration with Axum
#![forbid(unsafe_code)]
#![allow(clippy::uninlined_format_args)]
#![warn(missing_docs)]

mod extract;
mod query;
mod response;
#[cfg(not(target_arch = "wasm32"))]
mod subscription;

pub use extract::{rejection, GraphQLBatchRequest, GraphQLRequest};
pub use query::GraphQL;
pub use response::GraphQLResponse;
#[cfg(not(target_arch = "wasm32"))]
pub use subscription::{GraphQLProtocol, GraphQLSubscription, GraphQLWebSocket};