Skip to content

Commit cac74d5

Browse files
committed
Update the version of async-graphql to v1.11.0
1 parent ac5690b commit cac74d5

File tree

17 files changed

+27
-28
lines changed

17 files changed

+27
-28
lines changed

actix-web/error-extensions/src/main.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#[macro_use]
22
extern crate thiserror;
33

4-
use actix_rt;
54
use actix_web::{guard, web, App, HttpResponse, HttpServer, Result};
65
use async_graphql::http::{playground_source, GQLResponse};
76
use async_graphql::{

actix-web/starwars/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ authors = ["sunli <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.0"
9-
async-graphql-actix-web = "1.0.0"
8+
async-graphql = "1.11.0"
9+
async-graphql-actix-web = "1.3.0"
1010
actix-web = "2.0.0"
1111
actix-rt = "1.0.0"
1212
starwars = { path = "../../models/starwars" }

actix-web/subscription/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ authors = ["sunli <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.12"
9-
async-graphql-actix-web = "1.0.0"
8+
async-graphql = "1.11.0"
9+
async-graphql-actix-web = "1.3.0"
1010
actix-web = "2.0.0"
1111
actix-rt = "1.0.0"
1212
actix-web-actors = "2.0.0"

actix-web/token-from-header/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ authors = ["sunli <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.0"
9-
async-graphql-actix-web = "1.0.0"
8+
async-graphql = "1.11.0"
9+
async-graphql-actix-web = "1.3.0"
1010
actix-web = "2.0.0"
1111
actix-rt = "1.0.0"
1212
futures = "0.3"

federation/federation-accounts/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = ["sunli <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.0"
9-
async-graphql-warp = "1.0.0"
8+
async-graphql = "1.11.0"
9+
async-graphql-warp = "1.3.0"
1010
tokio = { version = "0.2", features = ["macros"] }
1111
warp = "0.2"

federation/federation-products/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = ["sunli <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.0"
9-
async-graphql-warp = "1.0.0"
8+
async-graphql = "1.11.0"
9+
async-graphql-warp = "1.3.0"
1010
tokio = { version = "0.2", features = ["macros"] }
1111
warp = "0.2"

federation/federation-reviews/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = ["sunli <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.0"
9-
async-graphql-warp = "1.0.0"
8+
async-graphql = "1.11.0"
9+
async-graphql-warp = "1.3.0"
1010
tokio = { version = "0.2", features = ["macros"] }
1111
warp = "0.2"

models/books/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = ["sunli <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.0"
8+
async-graphql = "1.11.0"
99
slab = "0.4.2"
1010
tokio = { version = "0.2", features = ["time", "stream"] }
1111
futures = "0.3.0"

models/files/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ authors = ["sunli <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.0"
8+
async-graphql = "1.11.0"
99
slab = "0.4.2"
1010
futures = "0.3.0"

models/starwars/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ authors = ["sunli <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.0"
8+
async-graphql = "1.11.0"
99
slab = "0.4.2"

tide/starwars/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ authors = ["vkill <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.0"
9-
async-graphql-tide = "1.0.0"
8+
async-graphql = "1.11.0"
9+
async-graphql-tide = "1.2.0"
1010
tide = "0.8"
1111
async-std = "1.5.0"
1212
starwars = { path = "../../models/starwars" }

tide/starwars/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fn main() -> Result<()> {
1818
}
1919

2020
async fn run() -> Result<()> {
21-
let listen_addr = env::var("LISTEN_ADDR").unwrap_or("localhost:8000".to_owned());
21+
let listen_addr = env::var("LISTEN_ADDR").unwrap_or_else(|_| "localhost:8000".to_owned());
2222

2323
let schema = Schema::build(QueryRoot, EmptyMutation, EmptySubscription)
2424
.data(StarWars::new())

tide/token-from-header/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ authors = ["vkill <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.0"
9-
async-graphql-tide = "1.0.0"
8+
async-graphql = "1.11.0"
9+
async-graphql-tide = "1.2.0"
1010
tide = "0.8"
1111
async-std = "1.5.0"
1212

tide/token-from-header/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fn main() -> Result<()> {
3030
}
3131

3232
async fn run() -> Result<()> {
33-
let listen_addr = env::var("LISTEN_ADDR").unwrap_or("localhost:8000".to_owned());
33+
let listen_addr = env::var("LISTEN_ADDR").unwrap_or_else(|_| "localhost:8000".to_owned());
3434

3535
let schema = Schema::build(QueryRoot, EmptyMutation, EmptySubscription).finish();
3636

warp/starwars/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ authors = ["sunli <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.0"
9-
async-graphql-warp = "1.0.0"
8+
async-graphql = "1.11.0"
9+
async-graphql-warp = "1.3.0"
1010
tokio = { version = "0.2", features = ["macros"] }
1111
warp = "0.2"
1212
starwars = { path = "../../models/starwars" }

warp/subscription/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ authors = ["sunli <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.0"
9-
async-graphql-warp = "1.0.0"
8+
async-graphql = "1.11.0"
9+
async-graphql-warp = "1.3.0"
1010
tokio = { version = "0.2", features = ["macros"] }
1111
warp = "0.2"
1212
books = { path = "../../models/books" }

warp/token-from-header/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ authors = ["sunli <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
async-graphql = "1.9.0"
9-
async-graphql-warp = "1.0.0"
8+
async-graphql = "1.11.0"
9+
async-graphql-warp = "1.3.0"
1010
tokio = { version = "0.2", features = ["macros"] }
1111
warp = "0.2"
1212
serde_json = "1.0"

0 commit comments

Comments
 (0)