Go to file
2021-05-31 13:55:08 +03:00
.github
derive
docs
examples@64e75d3c3f
integrations WebSocket is now generic in graphql_subscription_upgrade functions. 2021-05-31 13:55:08 +03:00
parser Release 2.8.5 2021-05-11 19:16:36 +08:00
src fix: typo then => than 2021-05-25 18:20:47 +08:00
tests Fix the problem that the ComplexObject macro cannot work due to the secret attribute. 2021-04-23 10:25:00 +08:00
value
.gitignore
.gitmodules
.rustfmt.toml
ARCHITECTURE.md
Cargo.toml
CHANGELOG.md
feature-comparison.md
LICENSE-APACHE
LICENSE-MIT
README.md

A GraphQL server library implemented in Rust

Async-graphql is a high-performance server-side library that supports all GraphQL specifications.

Safety

This crate uses #![forbid(unsafe_code)] to ensure everything is implemented in 100% Safe Rust.

Features

  • Fully supports async/await
  • Type safety
  • Rustfmt friendly (Procedural Macro)
  • Custom scalars
  • Minimal overhead
  • Easy integration (actix_web, tide, warp, rocket ...)
  • Upload files (Multipart request)
  • Subscriptions (WebSocket transport)
  • Custom extensions
  • Apollo Tracing extension
  • Limit query complexity/depth
  • Error Extensions
  • Apollo Federation
  • Batch Queries
  • Apollo Persisted Queries

Crate features

This crate offers the following features, all of which are not activated by default:

Examples

All examples are in the sub-repository, located in the examples directory.

Run an example:

git submodule update # update the examples repo
cd examples && cargo run --bin [name]

Integrations

License

Licensed under either of

References

Contribute

Welcome to contribute !