Re-exports§
pub use error::ApiError;
pub use error::Error;
pub use error::Result;
pub use error::GraphQLError;
pub use error::GraphQLResult;
Modules§
- This module helps with ANSI strings
- Authentication and authorization utilities
- Utilities to work with axum
- Read config from toml and env variables using Figment
- Re-exported crates
- Generic error types ready for web servers
- Utilities to work with [async-graphql]
- Pagination utils based on the Relay specification
- Utilities to include queried fields in APIs
- Custom de/serialization helpers to use in combination with [serde’s with-annotation][https://serde.rs/field-attrs.html#with].
- Utilities to work with [sqlx]
- Based on https://github.com/tower-rs/tower-http/blob/main/tower-http/src/timeout/service.rs, but allowing to customize the response
- Utilities for [tracing-subscriber]
Macros§
- Creates a new entry type implementing GraphQLMapEntry for the given type.
- Similar to
sqlx::expand_query!
but includes pagination capabilities. - Similar to
sqlx::query_as!
but with pagination capabilities. - Builds a tuple from the given struct fields
- Declares a
mod
and uses it.
Enums§
Derive Macros§
- Derives the
Subject
trait.