Go to file
Sunli ecf8890e7e Implemented `OutputType` for Bytes. #569 2021-07-18 21:42:39 +08:00
.github Create FUNDING.yml 2021-07-17 07:41:28 +08:00
derive Allow field visible to support paths 2021-07-18 20:16:39 +08:00
docs doc: validator attribute under graphql macro 2021-05-19 10:51:50 +08:00
examples@45b58bf1ce Update examples 2021-06-17 08:52:55 +08:00
integrations Attach custom HTTP headers to the response when an error occurs. #572 2021-07-15 08:20:08 +08:00
parser Release 2.9.8 2021-07-12 11:16:18 +08:00
src Implemented `OutputType` for Bytes. #569 2021-07-18 21:42:39 +08:00
tests Implemented `OutputType` for Bytes. #569 2021-07-18 21:42:39 +08:00
value Implemented `OutputType` for Bytes. #569 2021-07-18 21:42:39 +08:00
.gitignore Moved benchmark from side repo 2020-06-01 21:05:37 +05:00
.gitmodules Update dependencies and make examples submodule 2020-10-15 20:48:06 +01:00
.rustfmt.toml Rustfmt 2020-06-06 15:48:21 +08:00
ARCHITECTURE.md Rename InputValueType to InputType and OutputValueType to OutputType. 2020-12-11 15:37:50 +08:00
CHANGELOG.md Implemented `OutputType` for Bytes. #569 2021-07-18 21:42:39 +08:00
Cargo.toml Implemented `OutputType` for Bytes. #569 2021-07-18 21:42:39 +08:00
LICENSE-APACHE add some files 2020-03-01 21:56:14 +08:00
LICENSE-MIT add some files 2020-03-01 21:56:14 +08:00
README.md Update README.md 2021-07-14 12:24:50 +08:00
feature-comparison.md Update feature-comparsion.md #377 2021-01-06 19:54:48 +08:00

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

Blog Posts

License

Licensed under either of

References

Contribute

Welcome to contribute !