bump actix-web from 4.0.0-beta.10 to 4.0.0-beta.11

This commit is contained in:
Sunli 2021-11-19 08:14:36 +08:00
parent 27deae8476
commit 892e8189a0
3 changed files with 5 additions and 6 deletions

@ -1 +1 @@
Subproject commit d7fdd5003034de745492ab1ffe88455f7e49c58f
Subproject commit 49939003f9f0daf11a97522d7c3489d3beb85adb

View File

@ -14,8 +14,8 @@ categories = ["network-programming", "asynchronous"]
[dependencies]
async-graphql = { path = "../..", version = "=3.0.4" }
actix = "0.12.0"
actix-http = "3.0.0-beta.11"
actix-web = { version = "4.0.0-beta.10", default-features = false }
actix-http = "3.0.0-beta.12"
actix-web = { version = "4.0.0-beta.11", default-features = false }
actix-web-actors = "4.0.0-beta.7"
async-channel = "1.6.1"
futures-util = { version = "0.3.17", default-features = false }

View File

@ -25,7 +25,7 @@ async fn quickstart() -> Result<()> {
let schema = Schema::build(QueryRoot, EmptyMutation, EmptySubscription).finish();
let mut app = tide::new();
let endpoint = async_graphql_tide::graphql_endpoint(schema);
let endpoint = async_graphql_tide::graphql(schema);
app.at("/").post(endpoint.clone()).get(endpoint);
app.listen(listen_addr).await
});
@ -184,8 +184,7 @@ async fn upload() -> Result<()> {
let schema = Schema::build(QueryRoot, MutationRoot, EmptySubscription).finish();
let mut app = tide::new();
app.at("/")
.post(async_graphql_tide::graphql_endpoint(schema));
app.at("/").post(async_graphql_tide::graphql(schema));
app.listen(listen_addr).await
});