Skip to content

Commit

Permalink
Update tokio requirement from 0.2.0 to 0.3.0
Browse files Browse the repository at this point in the history
Updates the requirements on [tokio](https://github.com/tokio-rs/tokio) to permit the latest version.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-0.2.0...tokio-0.3.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
  • Loading branch information
dependabot-preview[bot] authored Oct 19, 2020
1 parent 5832b36 commit 6b48409
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion examples/actix_subscriptions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ actix-web = "3.0.0"
actix-cors = "0.4.1"

futures = "0.3.5"
tokio = { version = "0.2", features = ["rt-core", "macros"] }
tokio = { version = "0.3", features = ["rt-core", "macros"] }
env_logger = "0.8.1"
serde = "1.0.115"
serde_json = "1.0.57"
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_subscriptions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ authors = ["Jordao Rosario <[email protected]>"]
futures = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "0.2", features = ["rt-core", "macros", "stream"] }
tokio = { version = "0.3", features = ["rt-core", "macros", "stream"] }

juniper = { git = "https://github.com/graphql-rust/juniper" }
juniper_subscriptions = { git = "https://github.com/graphql-rust/juniper" }
2 changes: 1 addition & 1 deletion examples/warp_async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ env_logger = "0.8.1"
futures = { version = "0.3.1", features = ["compat"] }
log = "0.4.8"
reqwest = { version = "0.10", features = ["rustls-tls"] }
tokio = { version = "0.2", features = ["rt-core", "macros"] }
tokio = { version = "0.3", features = ["rt-core", "macros"] }
warp = "0.2"
2 changes: 1 addition & 1 deletion examples/warp_subscriptions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ futures = "0.3.1"
log = "0.4.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "0.2", features = ["rt-core", "macros"] }
tokio = { version = "0.3", features = ["rt-core", "macros"] }
warp = "0.2.1"

juniper = { path = "../../juniper" }
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/async_await/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ edition = "2018"
[dependencies]
juniper = { path = "../../juniper" }
futures = "0.3.1"
tokio = { version = "0.2", features = ["rt-core", "time", "macros"] }
tokio = { version = "0.3", features = ["rt-core", "time", "macros"] }
2 changes: 1 addition & 1 deletion integration_tests/codegen_fail/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ futures = "0.3.1"

[dev-dependencies]
serde_json = { version = "1" }
tokio = { version = "0.2", features = ["rt-core", "time", "macros"] }
tokio = { version = "0.3", features = ["rt-core", "time", "macros"] }
trybuild = "1.0.25"
2 changes: 1 addition & 1 deletion integration_tests/juniper_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ juniper = { path = "../../juniper" }
async-trait = "0.1.39"
serde_json = { version = "1" }
fnv = "1.0.3"
tokio = { version = "0.2", features = ["rt-core", "time", "macros"] }
tokio = { version = "0.3", features = ["rt-core", "time", "macros"] }
2 changes: 1 addition & 1 deletion juniper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ uuid = { version = "0.8", default-features = false, optional = true }
bencher = "0.1.2"
pretty_assertions = "0.6.1"
serde_json = { version = "1.0.2" }
tokio = { version = "0.2", features = ["macros", "rt-core", "time"] }
tokio = { version = "0.3", features = ["macros", "rt-core", "time"] }

[[bench]]
name = "bench"
Expand Down
2 changes: 1 addition & 1 deletion juniper_actix/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ actix-web-actors = "3.0.0"


futures = { version = "0.3.5", features = ["compat"] }
tokio = { version = "0.2", features = ["time"] }
tokio = { version = "0.3", features = ["time"] }
serde = { version = "1.0.116", features = ["derive"] }
serde_json = "1.0.57"
anyhow = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion juniper_benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ futures = "0.3"

[dev-dependencies]
criterion = "0.3"
tokio = { version = "0.2.0", features = ["rt-threaded", "rt-core"] }
tokio = { version = "0.3.0", features = ["rt-threaded", "rt-core"] }
2 changes: 1 addition & 1 deletion juniper_graphql_ws/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ edition = "2018"
juniper = { version = "0.14.2", path = "../juniper", default-features = false }
juniper_subscriptions = { path = "../juniper_subscriptions" }
serde = { version = "1.0.8", features = ["derive"] }
tokio = { version = "0.2", features = ["macros", "rt-core", "time"] }
tokio = { version = "0.3", features = ["macros", "rt-core", "time"] }

[dev-dependencies]
serde_json = { version = "1.0.2" }
4 changes: 2 additions & 2 deletions juniper_hyper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ edition = "2018"
serde_json = "1.0"
url = "2"
juniper = { version = "0.14.2", default-features = false, path = "../juniper"}
tokio = "0.2"
tokio = "0.3"
hyper = "0.13"
futures = "0.3.1"

Expand All @@ -26,5 +26,5 @@ features = ["expose-test-schema"]
path = "../juniper"

[dev-dependencies.tokio]
version = "0.2"
version = "0.3"
features = ["macros"]
2 changes: 1 addition & 1 deletion juniper_rocket_async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ serde_json = { version = "1.0.2" }
juniper = { version = "0.14.2", default-features = false, path = "../juniper" }
futures = { version = "0.3.1", features = ["compat"] }
rocket = { git = "https://github.com/SergioBenitez/Rocket", branch = "master", default-features = false }
tokio = { version = "0.2", features = ["rt-core", "macros"] }
tokio = { version = "0.3", features = ["rt-core", "macros"] }

[dev-dependencies.juniper]
version = "0.14.2"
Expand Down
2 changes: 1 addition & 1 deletion juniper_subscriptions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ juniper = { version = "0.14.2", path = "../juniper", default-features = false }

[dev-dependencies]
serde_json = "1.0"
tokio = { version = "0.2", features = ["rt-core", "macros"] }
tokio = { version = "0.3", features = ["rt-core", "macros"] }
4 changes: 2 additions & 2 deletions juniper_warp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ juniper = { version = "0.14.2", path = "../juniper", default-features = false }
juniper_graphql_ws = { path = "../juniper_graphql_ws", optional = true }
serde = { version = "1.0.75", features = ["derive"] }
serde_json = "1.0.24"
tokio = { version = "0.2", features = ["blocking", "rt-core"] }
tokio = { version = "0.3", features = ["blocking", "rt-core"] }
warp = "0.2"

[dev-dependencies]
env_logger = "0.8.1"
juniper = { version = "0.14.2", path = "../juniper", features = ["expose-test-schema"] }
log = "0.4.3"
percent-encoding = "2"
tokio = { version = "0.2", features = ["blocking", "macros", "rt-core"] }
tokio = { version = "0.3", features = ["blocking", "macros", "rt-core"] }
url = "2"

0 comments on commit 6b48409

Please sign in to comment.