parent
003631e76b
commit
d03ad2d50d
|
@ -4,10 +4,10 @@
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
async-graphql = "1.18.0"
|
||||
async-graphql-actix-web = "1.18.0" # If you need to integrate into actix-web
|
||||
async-graphql-warp = "1.18.0" # If you need to integrate into warp
|
||||
async-graphql-tide = "1.18.0" # If you need to integrate into tide
|
||||
async-graphql = "2.0"
|
||||
async-graphql-actix-web = "2.0" # If you need to integrate into actix-web
|
||||
async-graphql-warp = "2.0" # If you need to integrate into warp
|
||||
async-graphql-tide = "2.0" # If you need to integrate into tide
|
||||
```
|
||||
|
||||
## Write a Schema
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
async-graphql = "1.18.0"
|
||||
async-graphql-actix-web = "1.18.0" # 如果你需要集成到Actix-web
|
||||
async-graphql-warp = "1.18.0" # 如果你需要集成到Warp
|
||||
async-graphql-tide = "1.18.0" # 如果你需要集成到Tide
|
||||
async-graphql = "2.0"
|
||||
async-graphql-actix-web = "2.0" # 如果你需要集成到Actix-web
|
||||
async-graphql-warp = "2.0" # 如果你需要集成到Warp
|
||||
async-graphql-tide = "2.0" # 如果你需要集成到Tide
|
||||
```
|
||||
|
||||
## 写一个Schema
|
||||
|
@ -50,4 +50,4 @@ let json = serde_json::to_string(&res);
|
|||
|
||||
## 和Web Server的集成
|
||||
|
||||
请参考https://github.com/async-graphql/examples。
|
||||
请参考https://github.com/async-graphql/examples。
|
||||
|
|
Loading…
Reference in New Issue