summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-04-02 19:54:40 +0200
committerGitHub <noreply@github.com>2022-04-02 19:54:40 +0200
commit6c25b5135dfa6d9be35f6993e4b43d442977eff9 (patch)
treec46af87ac21b1b99ea7a948dfe02894afeb75848
parentc0ee027d346191238c01d9fd35f45cc695bd1ae6 (diff)
chore: update tokio, tokio-util and libc dependencies (#14174)
-rw-r--r--Cargo.lock61
-rw-r--r--bench_util/Cargo.toml2
-rw-r--r--cli/Cargo.toml8
-rw-r--r--core/Cargo.toml4
-rw-r--r--ext/broadcast_channel/Cargo.toml2
-rw-r--r--ext/crypto/Cargo.toml2
-rw-r--r--ext/fetch/Cargo.toml4
-rw-r--r--ext/ffi/Cargo.toml2
-rw-r--r--ext/http/Cargo.toml4
-rw-r--r--ext/net/Cargo.toml2
-rw-r--r--ext/web/Cargo.toml2
-rw-r--r--ext/webgpu/Cargo.toml2
-rw-r--r--ext/websocket/Cargo.toml2
-rw-r--r--runtime/Cargo.toml6
14 files changed, 62 insertions, 41 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 766c7edf4..ce2bcd230 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -803,7 +803,7 @@ dependencies = [
"text-size",
"text_lines",
"tokio",
- "tokio-util",
+ "tokio-util 0.7.0",
"trust-dns-client",
"trust-dns-server",
"typed-arena",
@@ -941,7 +941,7 @@ dependencies = [
"serde",
"tokio",
"tokio-stream",
- "tokio-util",
+ "tokio-util 0.7.0",
]
[[package]]
@@ -995,7 +995,7 @@ dependencies = [
"ring",
"serde",
"tokio",
- "tokio-util",
+ "tokio-util 0.7.0",
]
[[package]]
@@ -1023,7 +1023,7 @@ dependencies = [
"deno_tls",
"log",
"serde",
- "socket2 0.4.2",
+ "socket2 0.4.4",
"tokio",
"trust-dns-proto",
"trust-dns-resolver",
@@ -1855,7 +1855,7 @@ dependencies = [
"indexmap",
"slab",
"tokio",
- "tokio-util",
+ "tokio-util 0.6.9",
"tracing",
]
@@ -1979,7 +1979,7 @@ dependencies = [
"httpdate",
"itoa 0.4.8",
"pin-project-lite",
- "socket2 0.4.2",
+ "socket2 0.4.4",
"tokio",
"tower-service",
"tracing",
@@ -2278,9 +2278,9 @@ dependencies = [
[[package]]
name = "libc"
-version = "0.2.106"
+version = "0.2.121"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a60553f9a9e039a333b4e9b20573b9e9b9c0bb3a11e201ccc48ef4283456d673"
+checksum = "efaa7b300f3b5fe8eb6bf21ce3895e1751d9665086af2d64b42f19701015ff4f"
[[package]]
name = "libffi"
@@ -2396,7 +2396,7 @@ dependencies = [
"serde_json",
"thiserror",
"tokio",
- "tokio-util",
+ "tokio-util 0.6.9",
"tower-service",
"twoway",
]
@@ -2490,14 +2490,15 @@ dependencies = [
[[package]]
name = "mio"
-version = "0.7.14"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc"
+checksum = "52da4364ffb0e4fe33a9841a98a3f3014fb964045ce4f7a45a398243c8d6b0c9"
dependencies = [
"libc",
"log",
"miow",
"ntapi",
+ "wasi 0.11.0+wasi-snapshot-preview1",
"winapi 0.3.9",
]
@@ -2587,9 +2588,9 @@ checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb"
[[package]]
name = "notify"
-version = "5.0.0-pre.12"
+version = "5.0.0-pre.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20a629259bb2c87a884bb76f6086c8637919de6d074754341c12e5dd3aed6326"
+checksum = "d13c22db70a63592e098fb51735bab36646821e6389a0ba171f3549facdf0b74"
dependencies = [
"bitflags",
"crossbeam-channel",
@@ -3355,7 +3356,7 @@ dependencies = [
"serde_urlencoded",
"tokio",
"tokio-rustls",
- "tokio-util",
+ "tokio-util 0.6.9",
"url",
"wasm-bindgen",
"wasm-bindgen-futures",
@@ -3829,9 +3830,9 @@ dependencies = [
[[package]]
name = "socket2"
-version = "0.4.2"
+version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5dc90fe6c7be1a323296982db1836d1ea9e47b6839496dde9a541bc496df3516"
+checksum = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0"
dependencies = [
"libc",
"winapi 0.3.9",
@@ -4540,20 +4541,20 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
[[package]]
name = "tokio"
-version = "1.14.0"
+version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70e992e41e0d2fb9f755b37446f20900f64446ef54874f40a60c78f021ac6144"
+checksum = "2af73ac49756f3f7c01172e34a23e5d0216f6c32333757c2c61feb2bbff5a5ee"
dependencies = [
- "autocfg 1.0.1",
"bytes",
"libc",
"memchr",
"mio",
"num_cpus",
"once_cell",
- "parking_lot 0.11.2",
+ "parking_lot 0.12.0",
"pin-project-lite",
"signal-hook-registry",
+ "socket2 0.4.4",
"tokio-macros",
"winapi 0.3.9",
]
@@ -4622,6 +4623,20 @@ dependencies = [
]
[[package]]
+name = "tokio-util"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "64910e1b9c1901aaf5375561e35b9c057d95ff41a44ede043a03e09279eabaf1"
+dependencies = [
+ "bytes",
+ "futures-core",
+ "futures-sink",
+ "log",
+ "pin-project-lite",
+ "tokio",
+]
+
+[[package]]
name = "toml"
version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -5052,6 +5067,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
[[package]]
+name = "wasi"
+version = "0.11.0+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+
+[[package]]
name = "wasm-bindgen"
version = "0.2.78"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml
index ae9541cc7..ed1b9a380 100644
--- a/bench_util/Cargo.toml
+++ b/bench_util/Cargo.toml
@@ -16,7 +16,7 @@ path = "lib.rs"
[dependencies]
bencher = "0.1"
deno_core = { version = "0.127.0", path = "../core" }
-tokio = { version = "1.10.1", features = ["full"] }
+tokio = { version = "1.17", features = ["full"] }
[[bench]]
name = "op_baseline"
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index a5c74aa1a..0ded96e1a 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -72,11 +72,11 @@ fancy-regex = "=0.7.1"
http = "=0.2.4"
import_map = "=0.9.0"
jsonc-parser = { version = "=0.19.0", features = ["serde"] }
-libc = "=0.2.106"
+libc = "=0.2.121"
log = { version = "=0.4.14", features = ["serde"] }
lspower = "=1.4.0"
node_resolver = "=0.1.1"
-notify = "=5.0.0-pre.12"
+notify = "=5.0.0-pre.14"
num-format = "=0.4.0"
once_cell = "=1.10.0"
percent-encoding = "=2.1.0"
@@ -93,8 +93,8 @@ shell-escape = "=0.1.5"
sourcemap = "=6.0.1"
text-size = "=1.1.0"
text_lines = "=0.4.1"
-tokio = { version = "=1.14", features = ["full"] }
-tokio-util = "=0.6.9"
+tokio = { version = "=1.17", features = ["full"] }
+tokio-util = "=0.7.0"
typed-arena = "2.0.1"
uuid = { version = "=0.8.2", features = ["v4", "serde"] }
walkdir = "=2.3.2"
diff --git a/core/Cargo.toml b/core/Cargo.toml
index f415b2fc2..bfeaeb0a8 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -17,7 +17,7 @@ anyhow = "1.0.55"
deno_ops = { path = "../ops", version = "0.5.0" }
futures = "0.3.21"
indexmap = "1.7.0"
-libc = "0.2.106"
+libc = "0.2.121"
log = "0.4.14"
once_cell = "1.10.0"
parking_lot = "0.11.1"
@@ -35,4 +35,4 @@ path = "examples/http_bench_json_ops.rs"
# These dependencies are only used for the 'http_bench_*_ops' examples.
[dev-dependencies]
deno_ast = { version = "0.13.0", features = ["transpiling"] }
-tokio = { version = "1.10.1", features = ["full"] }
+tokio = { version = "1.17", features = ["full"] }
diff --git a/ext/broadcast_channel/Cargo.toml b/ext/broadcast_channel/Cargo.toml
index 3459bd204..ae080c607 100644
--- a/ext/broadcast_channel/Cargo.toml
+++ b/ext/broadcast_channel/Cargo.toml
@@ -16,5 +16,5 @@ path = "lib.rs"
[dependencies]
async-trait = "0.1"
deno_core = { version = "0.127.0", path = "../../core" }
-tokio = { version = "1.10.1", features = ["full"] }
+tokio = { version = "1.17", features = ["full"] }
uuid = { version = "0.8.2", features = ["v4"] }
diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml
index 77f01a1a6..b03c78851 100644
--- a/ext/crypto/Cargo.toml
+++ b/ext/crypto/Cargo.toml
@@ -35,5 +35,5 @@ serde_bytes = "0.11"
sha-1 = "0.9.7"
sha2 = "0.9.5"
spki = "0.4.1"
-tokio = { version = "1.10.1", features = ["full"] }
+tokio = { version = "1.17", features = ["full"] }
uuid = { version = "0.8.2", features = ["v4"] }
diff --git a/ext/fetch/Cargo.toml b/ext/fetch/Cargo.toml
index 7c7ed8d19..10b612482 100644
--- a/ext/fetch/Cargo.toml
+++ b/ext/fetch/Cargo.toml
@@ -22,6 +22,6 @@ dyn-clone = "1"
http = "0.2.4"
reqwest = { version = "0.11.10", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] }
serde = { version = "1.0.129", features = ["derive"] }
-tokio = { version = "1.10.1", features = ["full"] }
+tokio = { version = "1.17", features = ["full"] }
tokio-stream = "0.1.7"
-tokio-util = "0.6.7"
+tokio-util = "0.7.0"
diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml
index 166a78bd9..b5b9059cc 100644
--- a/ext/ffi/Cargo.toml
+++ b/ext/ffi/Cargo.toml
@@ -18,7 +18,7 @@ deno_core = { version = "0.127.0", path = "../../core" }
dlopen = "0.1.8"
libffi = "2.0.0"
serde = { version = "1.0.129", features = ["derive"] }
-tokio = { version = "1.10.1", features = ["full"] }
+tokio = { version = "1.17", features = ["full"] }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = ["errhandlingapi", "minwindef", "ntdef", "winbase", "winnt"] }
diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml
index ff63c3739..98470cf75 100644
--- a/ext/http/Cargo.toml
+++ b/ext/http/Cargo.toml
@@ -27,5 +27,5 @@ mime = "0.3.16"
percent-encoding = "2.1.0"
ring = "0.16.20"
serde = { version = "1.0.129", features = ["derive"] }
-tokio = { version = "1.10.1", features = ["full"] }
-tokio-util = { version = "0.6.7", features = ["io"] }
+tokio = { version = "1.17", features = ["full"] }
+tokio-util = { version = "0.7.0", features = ["io"] }
diff --git a/ext/net/Cargo.toml b/ext/net/Cargo.toml
index 1762a9f9e..7fde312b3 100644
--- a/ext/net/Cargo.toml
+++ b/ext/net/Cargo.toml
@@ -19,6 +19,6 @@ deno_tls = { version = "0.32.0", path = "../tls" }
log = "0.4.14"
serde = { version = "1.0.129", features = ["derive"] }
socket2 = "0.4.2"
-tokio = { version = "1.10.1", features = ["full"] }
+tokio = { version = "1.17", features = ["full"] }
trust-dns-proto = "0.20.3"
trust-dns-resolver = { version = "0.20.3", features = ["tokio-runtime", "serde-config"] }
diff --git a/ext/web/Cargo.toml b/ext/web/Cargo.toml
index 92ab2bfdb..dfa1e76c1 100644
--- a/ext/web/Cargo.toml
+++ b/ext/web/Cargo.toml
@@ -20,7 +20,7 @@ deno_core = { version = "0.127.0", path = "../../core" }
encoding_rs = "0.8.29"
flate2 = "1"
serde = "1.0.129"
-tokio = { version = "1.10.1", features = ["full"] }
+tokio = { version = "1.17", features = ["full"] }
uuid = { version = "0.8.2", features = ["v4", "serde"] }
[dev-dependencies]
diff --git a/ext/webgpu/Cargo.toml b/ext/webgpu/Cargo.toml
index ca34de361..1994a131c 100644
--- a/ext/webgpu/Cargo.toml
+++ b/ext/webgpu/Cargo.toml
@@ -13,6 +13,6 @@ description = "WebGPU implementation for Deno"
[dependencies]
deno_core = { version = "0.127.0", path = "../../core" }
serde = { version = "1.0", features = ["derive"] }
-tokio = { version = "1.10", features = ["full"] }
+tokio = { version = "1.17", features = ["full"] }
wgpu-core = { version = "0.12", features = ["trace", "replay", "serde"] }
wgpu-types = { version = "0.12", features = ["trace", "replay", "serde"] }
diff --git a/ext/websocket/Cargo.toml b/ext/websocket/Cargo.toml
index 5aeda0039..0b738b346 100644
--- a/ext/websocket/Cargo.toml
+++ b/ext/websocket/Cargo.toml
@@ -19,6 +19,6 @@ deno_tls = { version = "0.32.0", path = "../tls" }
http = "0.2.4"
hyper = { version = "0.14.12" }
serde = { version = "1.0.129", features = ["derive"] }
-tokio = { version = "1.10.1", features = ["full"] }
+tokio = { version = "1.17", features = ["full"] }
tokio-rustls = "0.23.0"
tokio-tungstenite = { version = "0.16.0", features = ["rustls-tls-webpki-roots"] }
diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml
index 36215894e..ae81e7063 100644
--- a/runtime/Cargo.toml
+++ b/runtime/Cargo.toml
@@ -68,11 +68,11 @@ filetime = "0.2.15"
fs3 = "0.5.0"
http = "0.2.4"
hyper = { version = "0.14.12", features = ["server", "stream", "http1", "http2", "runtime"] }
-libc = "0.2.106"
+libc = "0.2.121"
log = "0.4.14"
lzzzz = '=0.8.0'
netif = "0.1.3"
-notify = "=5.0.0-pre.12"
+notify = "=5.0.0-pre.14"
once_cell = "1.10.0"
regex = "1.5.5"
ring = "0.16.20"
@@ -80,7 +80,7 @@ serde = { version = "1.0.129", features = ["derive"] }
signal-hook-registry = "1.4.0"
sys-info = "0.9.0"
termcolor = "1.1.2"
-tokio = { version = "1.10.1", features = ["full"] }
+tokio = { version = "1.17", features = ["full"] }
uuid = { version = "0.8.2", features = ["v4"] }
[target.'cfg(windows)'.dependencies]