From 0a33cc1951940ebf862361106635ff1bb39d852b Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Mon, 5 Jul 2021 22:50:56 +0900 Subject: [PATCH] chore: upgrade Tokio to 1.8.0 (#11281) --- Cargo.lock | 4 ++-- bench_util/Cargo.toml | 2 +- cli/Cargo.toml | 2 +- core/Cargo.toml | 2 +- extensions/broadcast_channel/Cargo.toml | 2 +- extensions/crypto/Cargo.toml | 2 +- extensions/fetch/Cargo.toml | 2 +- extensions/net/Cargo.toml | 2 +- extensions/timers/Cargo.toml | 2 +- extensions/web/Cargo.toml | 2 +- extensions/webgpu/Cargo.toml | 2 +- extensions/websocket/Cargo.toml | 2 +- runtime/Cargo.toml | 2 +- test_util/Cargo.toml | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a709445666..e317cf7c02 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3667,9 +3667,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.7.1" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fb2ed024293bb19f7a5dc54fe83bf86532a44c12a2bb8ba40d64a4509395ca2" +checksum = "570c2eb13b3ab38208130eccd41be92520388791207fde783bda7c1e8ace28d4" dependencies = [ "autocfg", "bytes", diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml index 866c6f4b71..7cff405579 100644 --- a/bench_util/Cargo.toml +++ b/bench_util/Cargo.toml @@ -15,7 +15,7 @@ publish = true [dependencies] bencher = "0.1" deno_core = { version = "0.92.0", path = "../core" } -tokio = { version = "1.7.1", features = ["full"] } +tokio = { version = "1.8.0", features = ["full"] } [[bench]] name = "op_baseline" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 3811840da4..3e6231652b 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -84,7 +84,7 @@ swc_ecmascript = { version = "0.44.0", features = ["codegen", "dep_graph", "pars tempfile = "3.2.0" termcolor = "1.1.2" text-size = "1.1.0" -tokio = { version = "1.7.1", features = ["full"] } +tokio = { version = "1.8.0", features = ["full"] } tokio-rustls = "0.22.0" uuid = { version = "0.8.2", features = ["v4", "serde"] } walkdir = "2.3.2" diff --git a/core/Cargo.toml b/core/Cargo.toml index 06a6cec418..8a5420af3c 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -32,4 +32,4 @@ path = "examples/http_bench_json_ops.rs" # These dependencies are only used for the 'http_bench_*_ops' examples. [dev-dependencies] -tokio = { version = "1.7.1", features = ["full"] } +tokio = { version = "1.8.0", features = ["full"] } diff --git a/extensions/broadcast_channel/Cargo.toml b/extensions/broadcast_channel/Cargo.toml index bee57991f7..edc43d0882 100644 --- a/extensions/broadcast_channel/Cargo.toml +++ b/extensions/broadcast_channel/Cargo.toml @@ -16,5 +16,5 @@ path = "lib.rs" [dependencies] async-trait = "0.1" deno_core = { version = "0.92.0", path = "../../core" } -tokio = { version = "1.7.1", features = ["full"] } +tokio = { version = "1.8.0", features = ["full"] } uuid = { version = "0.8.2", features = ["v4"] } diff --git a/extensions/crypto/Cargo.toml b/extensions/crypto/Cargo.toml index eea688072e..6a2cbc542d 100644 --- a/extensions/crypto/Cargo.toml +++ b/extensions/crypto/Cargo.toml @@ -16,7 +16,7 @@ path = "lib.rs" [dependencies] deno_core = { version = "0.92.0", path = "../../core" } deno_web = { version = "0.41.1", path = "../web" } -tokio = { version = "1.7.1", features = ["full"] } +tokio = { version = "1.8.0", features = ["full"] } rand = "0.8.3" ring = "0.16.20" uuid = { version = "0.8.2", features = ["v4"] } diff --git a/extensions/fetch/Cargo.toml b/extensions/fetch/Cargo.toml index 03bc771c99..1694e67601 100644 --- a/extensions/fetch/Cargo.toml +++ b/extensions/fetch/Cargo.toml @@ -21,6 +21,6 @@ deno_web = { version = "0.41.1", path = "../web" } http = "0.2.4" reqwest = { version = "0.11.3", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] } serde = { version = "1.0.125", features = ["derive"] } -tokio = { version = "1.7.1", features = ["full"] } +tokio = { version = "1.8.0", features = ["full"] } tokio-stream = "0.1.5" tokio-util = "0.6.7" diff --git a/extensions/net/Cargo.toml b/extensions/net/Cargo.toml index 9d5e97bbba..e39c5c4886 100644 --- a/extensions/net/Cargo.toml +++ b/extensions/net/Cargo.toml @@ -23,7 +23,7 @@ http = "0.2.3" hyper = { version = "0.14.9", features = ["server", "stream", "http1", "http2", "runtime"] } rustls = "0.19.0" serde = { version = "1.0.125", features = ["derive"] } -tokio = { version = "1.7.1", features = ["full"] } +tokio = { version = "1.8.0", features = ["full"] } tokio-util = { version = "0.6", features = ["io"] } webpki = "0.21.4" webpki-roots = "0.21.1" diff --git a/extensions/timers/Cargo.toml b/extensions/timers/Cargo.toml index ae754a9537..69c0691a43 100644 --- a/extensions/timers/Cargo.toml +++ b/extensions/timers/Cargo.toml @@ -15,7 +15,7 @@ path = "lib.rs" [dependencies] deno_core = { version = "0.92.0", path = "../../core" } -tokio = { version = "1.7.1", features = ["full"] } +tokio = { version = "1.8.0", features = ["full"] } [dev-dependencies] deno_bench_util = { version = "0.4.0", path = "../../bench_util" } diff --git a/extensions/web/Cargo.toml b/extensions/web/Cargo.toml index b056baeea9..1eb43fbc76 100644 --- a/extensions/web/Cargo.toml +++ b/extensions/web/Cargo.toml @@ -19,7 +19,7 @@ base64 = "0.13.0" deno_core = { version = "0.92.0", path = "../../core" } encoding_rs = "0.8.28" serde = "1.0" -tokio = "1.7" +tokio = "1.8.0" uuid = { version = "0.8.2", features = ["v4"] } [dev-dependencies] diff --git a/extensions/webgpu/Cargo.toml b/extensions/webgpu/Cargo.toml index bf17b3d256..15e23f7257 100644 --- a/extensions/webgpu/Cargo.toml +++ b/extensions/webgpu/Cargo.toml @@ -15,7 +15,7 @@ path = "lib.rs" [dependencies] deno_core = { version = "0.92.0", path = "../../core" } -tokio = { version = "1.7.1", features = ["full"] } +tokio = { version = "1.8.0", features = ["full"] } serde = { version = "1.0.125", features = ["derive"] } wgpu-core = { version = "0.8.1", features = ["trace"] } wgpu-types = "0.8.0" diff --git a/extensions/websocket/Cargo.toml b/extensions/websocket/Cargo.toml index 0ed4d64376..81b57d3f22 100644 --- a/extensions/websocket/Cargo.toml +++ b/extensions/websocket/Cargo.toml @@ -17,7 +17,7 @@ path = "lib.rs" deno_core = { version = "0.92.0", path = "../../core" } http = "0.2.3" serde = { version = "1.0.125", features = ["derive"] } -tokio = { version = "1.7.1", features = ["full"] } +tokio = { version = "1.8.0", features = ["full"] } tokio-rustls = "0.22.0" tokio-tungstenite = { version = "0.14.0", features = ["rustls-tls"] } webpki = "0.21.4" diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index bd65948055..402d9bb6e4 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -68,7 +68,7 @@ ring = "0.16.20" serde = { version = "1.0.125", features = ["derive"] } sys-info = "0.9.0" termcolor = "1.1.2" -tokio = { version = "1.7.1", features = ["full"] } +tokio = { version = "1.8.0", features = ["full"] } uuid = { version = "0.8.2", features = ["v4"] } [target.'cfg(windows)'.dependencies] diff --git a/test_util/Cargo.toml b/test_util/Cargo.toml index ac00fdcee2..7e8ad55b22 100644 --- a/test_util/Cargo.toml +++ b/test_util/Cargo.toml @@ -23,7 +23,7 @@ regex = "1.4.3" serde = { version = "1.0.125", features = ["derive"] } serde_json = "1.0.64" tempfile = "3.2.0" -tokio = { version = "1.7.1", features = ["full"] } +tokio = { version = "1.8.0", features = ["full"] } tokio-rustls = "0.22.0" tokio-tungstenite = "0.14.0"