2020-03-01 13:56:14 +00:00
|
|
|
# The GraphQL server library implemented by rust
|
|
|
|
|
|
|
|
<div align="center">
|
|
|
|
<!-- CI -->
|
|
|
|
<img src="https://github.com/sunli829/potatonet/workflows/CI/badge.svg" />
|
|
|
|
<!-- Crates version -->
|
|
|
|
<a href="https://crates.io/crates/async-graphql">
|
|
|
|
<img src="https://img.shields.io/crates/v/async-graphql.svg?style=flat-square"
|
|
|
|
alt="Crates.io version" />
|
|
|
|
</a>
|
|
|
|
<!-- Downloads -->
|
|
|
|
<a href="https://crates.io/crates/async-graphql">
|
|
|
|
<img src="https://img.shields.io/crates/d/async-graphql.svg?style=flat-square"
|
|
|
|
alt="Download" />
|
|
|
|
</a>
|
|
|
|
<!-- docs.rs docs -->
|
|
|
|
<a href="https://docs.rs/async-graphql">
|
|
|
|
<img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square"
|
|
|
|
alt="docs.rs docs" />
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
|
|
* [GitHub repository](https://github.com/sunli829/async-graphql)
|
|
|
|
* [Cargo package](https://crates.io/crates/async-graphql)
|
|
|
|
* Minimum supported Rust version: 1.39 or later
|
|
|
|
|
2020-03-02 00:24:49 +00:00
|
|
|
## Features
|
|
|
|
|
|
|
|
* Fully support async/await.
|
|
|
|
* Type safety.
|
|
|
|
* Rustfmt friendly (Procedural Macro).
|
|
|
|
* Custom scalar.
|
|
|
|
* Minimal overhead.
|
|
|
|
* Easy integration (hyper, actix_web, tide, rocket ...).
|
|
|
|
|
2020-03-01 14:13:37 +00:00
|
|
|
## Goals
|
|
|
|
|
|
|
|
- [ ] Types
|
|
|
|
- [X] Scalar
|
|
|
|
- [X] Integer
|
|
|
|
- [X] Float
|
|
|
|
- [X] String
|
|
|
|
- [X] Bool
|
2020-03-01 16:59:04 +00:00
|
|
|
- [X] ID
|
2020-03-01 14:13:37 +00:00
|
|
|
- [X] DateTime
|
|
|
|
- [X] UUID
|
2020-03-02 00:24:49 +00:00
|
|
|
- [X] Complex Types
|
2020-03-01 14:13:37 +00:00
|
|
|
- [X] List
|
|
|
|
- [X] Non-Null
|
2020-03-01 17:09:21 +00:00
|
|
|
- [X] Object
|
2020-03-01 14:13:37 +00:00
|
|
|
- [X] Enum
|
2020-03-01 17:09:21 +00:00
|
|
|
- [X] InputObject
|
2020-03-01 14:13:37 +00:00
|
|
|
- [ ] Interface
|
|
|
|
- [ ] Union
|
2020-03-02 00:24:49 +00:00
|
|
|
- [ ] Generic Types
|
2020-03-01 14:13:37 +00:00
|
|
|
- [ ] Query
|
|
|
|
- [X] Fields
|
|
|
|
- [X] Arguments
|
2020-03-01 16:52:38 +00:00
|
|
|
- [X] Alias
|
2020-03-01 14:13:37 +00:00
|
|
|
- [ ] Fragments
|
|
|
|
- [ ] Inline fragments
|
|
|
|
- [X] Operation name
|
2020-03-01 16:52:05 +00:00
|
|
|
- [X] Variables
|
2020-03-01 14:13:37 +00:00
|
|
|
- [ ] Directives
|
2020-03-01 17:02:35 +00:00
|
|
|
- [ ] @include
|
|
|
|
- [ ] @skip
|
|
|
|
- [ ] @deprecated
|
|
|
|
- [ ] Custom Directive
|
2020-03-01 14:13:37 +00:00
|
|
|
- [ ] Schema
|
|
|
|
|
2020-03-01 13:56:14 +00:00
|
|
|
## References
|
|
|
|
|
|
|
|
* [GraphQL](https://graphql.org)
|