Skip to main content

gqlrs_poem/
lib.rs

1//! Async-graphql integration with Poem
2#![forbid(unsafe_code)]
3#![warn(missing_docs)]
4
5#[cfg(not(gqlrs_no_send))]
6mod extractor;
7#[cfg(not(gqlrs_no_send))]
8mod query;
9#[cfg(not(gqlrs_no_send))]
10mod response;
11#[cfg(not(gqlrs_no_send))]
12mod subscription;
13
14#[cfg(not(gqlrs_no_send))]
15pub use extractor::{GraphQLBatchRequest, GraphQLRequest};
16#[cfg(not(gqlrs_no_send))]
17pub use query::GraphQL;
18#[cfg(not(gqlrs_no_send))]
19pub use response::{GraphQLBatchResponse, GraphQLResponse};
20#[cfg(not(gqlrs_no_send))]
21pub use subscription::{GraphQLProtocol, GraphQLSubscription, GraphQLWebSocket};