Go to file
2020-04-22 22:58:34 -07:00
.github/workflows Update book.yml 2020-04-15 12:32:48 +08:00
async-graphql-actix-web v1.9.13 2020-04-23 11:46:48 +08:00
async-graphql-derive v1.9.13 2020-04-23 11:46:48 +08:00
async-graphql-warp v1.9.13 2020-04-23 11:46:48 +08:00
docs Update quickstart.md 2020-04-22 11:20:41 +08:00
src v1.9.11 2020-04-23 10:26:16 +08:00
tests The subscriptions field supports a return value of type FieldResult 2020-04-23 11:26:36 +08:00
.gitignore Add docs 2020-04-15 11:15:30 +08:00
Cargo.toml v1.9.13 2020-04-23 11:46:48 +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 Add real-world example 2020-04-22 22:58:34 -07:00

The GraphQL server library implemented by rust

Async-graphql is a GraphQL server library that fully supports async/await and is easy to use.

It supports all of the GraphQL specifications and is easy to integrate into existing web servers.

Examples

If you are just getting started, we recommend checking out our examples at: https://github.com/sunli829/async-graphql-examples

To see how you would create a Relay-compliant server using async-graphql, warp, diesel & postgesql, you can also check out a real-world example at: https://github.com/phated/twentyfive-stars

Benchmark

git clone https://github.com/sunli829/graphql-benchmark
cargo run --release

Features

  • Fully support async/await
  • Type safety
  • Rustfmt friendly (Procedural Macro)
  • Custom scalar
  • Minimal overhead
  • Easy integration (hyper, actix_web, tide ...)
  • Upload files (Multipart request)
  • Subscription (WebSocket transport)
  • Custom extension
  • Apollo Tracing extension
  • Limit query complexity/depth
  • Error Extensions
  • Apollo Federation

Integrations

License

Licensed under either of

References

Contribute

Welcome to contribute !