0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -05:00

chore: update tokio, tokio-util and libc dependencies (#14174)

This commit is contained in:
Bartek Iwańczuk 2022-04-02 19:54:40 +02:00 committed by GitHub
parent c0ee027d34
commit 6c25b5135d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 62 additions and 41 deletions

61
Cargo.lock generated
View file

@ -803,7 +803,7 @@ dependencies = [
"text-size", "text-size",
"text_lines", "text_lines",
"tokio", "tokio",
"tokio-util", "tokio-util 0.7.0",
"trust-dns-client", "trust-dns-client",
"trust-dns-server", "trust-dns-server",
"typed-arena", "typed-arena",
@ -941,7 +941,7 @@ dependencies = [
"serde", "serde",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tokio-util", "tokio-util 0.7.0",
] ]
[[package]] [[package]]
@ -995,7 +995,7 @@ dependencies = [
"ring", "ring",
"serde", "serde",
"tokio", "tokio",
"tokio-util", "tokio-util 0.7.0",
] ]
[[package]] [[package]]
@ -1023,7 +1023,7 @@ dependencies = [
"deno_tls", "deno_tls",
"log", "log",
"serde", "serde",
"socket2 0.4.2", "socket2 0.4.4",
"tokio", "tokio",
"trust-dns-proto", "trust-dns-proto",
"trust-dns-resolver", "trust-dns-resolver",
@ -1855,7 +1855,7 @@ dependencies = [
"indexmap", "indexmap",
"slab", "slab",
"tokio", "tokio",
"tokio-util", "tokio-util 0.6.9",
"tracing", "tracing",
] ]
@ -1979,7 +1979,7 @@ dependencies = [
"httpdate", "httpdate",
"itoa 0.4.8", "itoa 0.4.8",
"pin-project-lite", "pin-project-lite",
"socket2 0.4.2", "socket2 0.4.4",
"tokio", "tokio",
"tower-service", "tower-service",
"tracing", "tracing",
@ -2278,9 +2278,9 @@ dependencies = [
[[package]] [[package]]
name = "libc" name = "libc"
version = "0.2.106" version = "0.2.121"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a60553f9a9e039a333b4e9b20573b9e9b9c0bb3a11e201ccc48ef4283456d673" checksum = "efaa7b300f3b5fe8eb6bf21ce3895e1751d9665086af2d64b42f19701015ff4f"
[[package]] [[package]]
name = "libffi" name = "libffi"
@ -2396,7 +2396,7 @@ dependencies = [
"serde_json", "serde_json",
"thiserror", "thiserror",
"tokio", "tokio",
"tokio-util", "tokio-util 0.6.9",
"tower-service", "tower-service",
"twoway", "twoway",
] ]
@ -2490,14 +2490,15 @@ dependencies = [
[[package]] [[package]]
name = "mio" name = "mio"
version = "0.7.14" version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc" checksum = "52da4364ffb0e4fe33a9841a98a3f3014fb964045ce4f7a45a398243c8d6b0c9"
dependencies = [ dependencies = [
"libc", "libc",
"log", "log",
"miow", "miow",
"ntapi", "ntapi",
"wasi 0.11.0+wasi-snapshot-preview1",
"winapi 0.3.9", "winapi 0.3.9",
] ]
@ -2587,9 +2588,9 @@ checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb"
[[package]] [[package]]
name = "notify" name = "notify"
version = "5.0.0-pre.12" version = "5.0.0-pre.14"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20a629259bb2c87a884bb76f6086c8637919de6d074754341c12e5dd3aed6326" checksum = "d13c22db70a63592e098fb51735bab36646821e6389a0ba171f3549facdf0b74"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"crossbeam-channel", "crossbeam-channel",
@ -3355,7 +3356,7 @@ dependencies = [
"serde_urlencoded", "serde_urlencoded",
"tokio", "tokio",
"tokio-rustls", "tokio-rustls",
"tokio-util", "tokio-util 0.6.9",
"url", "url",
"wasm-bindgen", "wasm-bindgen",
"wasm-bindgen-futures", "wasm-bindgen-futures",
@ -3829,9 +3830,9 @@ dependencies = [
[[package]] [[package]]
name = "socket2" name = "socket2"
version = "0.4.2" version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5dc90fe6c7be1a323296982db1836d1ea9e47b6839496dde9a541bc496df3516" checksum = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0"
dependencies = [ dependencies = [
"libc", "libc",
"winapi 0.3.9", "winapi 0.3.9",
@ -4540,20 +4541,20 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
[[package]] [[package]]
name = "tokio" name = "tokio"
version = "1.14.0" version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70e992e41e0d2fb9f755b37446f20900f64446ef54874f40a60c78f021ac6144" checksum = "2af73ac49756f3f7c01172e34a23e5d0216f6c32333757c2c61feb2bbff5a5ee"
dependencies = [ dependencies = [
"autocfg 1.0.1",
"bytes", "bytes",
"libc", "libc",
"memchr", "memchr",
"mio", "mio",
"num_cpus", "num_cpus",
"once_cell", "once_cell",
"parking_lot 0.11.2", "parking_lot 0.12.0",
"pin-project-lite", "pin-project-lite",
"signal-hook-registry", "signal-hook-registry",
"socket2 0.4.4",
"tokio-macros", "tokio-macros",
"winapi 0.3.9", "winapi 0.3.9",
] ]
@ -4621,6 +4622,20 @@ dependencies = [
"tokio", "tokio",
] ]
[[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]] [[package]]
name = "toml" name = "toml"
version = "0.5.8" version = "0.5.8"
@ -5051,6 +5066,12 @@ version = "0.10.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" 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]] [[package]]
name = "wasm-bindgen" name = "wasm-bindgen"
version = "0.2.78" version = "0.2.78"

View file

@ -16,7 +16,7 @@ path = "lib.rs"
[dependencies] [dependencies]
bencher = "0.1" bencher = "0.1"
deno_core = { version = "0.127.0", path = "../core" } deno_core = { version = "0.127.0", path = "../core" }
tokio = { version = "1.10.1", features = ["full"] } tokio = { version = "1.17", features = ["full"] }
[[bench]] [[bench]]
name = "op_baseline" name = "op_baseline"

View file

@ -72,11 +72,11 @@ fancy-regex = "=0.7.1"
http = "=0.2.4" http = "=0.2.4"
import_map = "=0.9.0" import_map = "=0.9.0"
jsonc-parser = { version = "=0.19.0", features = ["serde"] } jsonc-parser = { version = "=0.19.0", features = ["serde"] }
libc = "=0.2.106" libc = "=0.2.121"
log = { version = "=0.4.14", features = ["serde"] } log = { version = "=0.4.14", features = ["serde"] }
lspower = "=1.4.0" lspower = "=1.4.0"
node_resolver = "=0.1.1" node_resolver = "=0.1.1"
notify = "=5.0.0-pre.12" notify = "=5.0.0-pre.14"
num-format = "=0.4.0" num-format = "=0.4.0"
once_cell = "=1.10.0" once_cell = "=1.10.0"
percent-encoding = "=2.1.0" percent-encoding = "=2.1.0"
@ -93,8 +93,8 @@ shell-escape = "=0.1.5"
sourcemap = "=6.0.1" sourcemap = "=6.0.1"
text-size = "=1.1.0" text-size = "=1.1.0"
text_lines = "=0.4.1" text_lines = "=0.4.1"
tokio = { version = "=1.14", features = ["full"] } tokio = { version = "=1.17", features = ["full"] }
tokio-util = "=0.6.9" tokio-util = "=0.7.0"
typed-arena = "2.0.1" typed-arena = "2.0.1"
uuid = { version = "=0.8.2", features = ["v4", "serde"] } uuid = { version = "=0.8.2", features = ["v4", "serde"] }
walkdir = "=2.3.2" walkdir = "=2.3.2"

View file

@ -17,7 +17,7 @@ anyhow = "1.0.55"
deno_ops = { path = "../ops", version = "0.5.0" } deno_ops = { path = "../ops", version = "0.5.0" }
futures = "0.3.21" futures = "0.3.21"
indexmap = "1.7.0" indexmap = "1.7.0"
libc = "0.2.106" libc = "0.2.121"
log = "0.4.14" log = "0.4.14"
once_cell = "1.10.0" once_cell = "1.10.0"
parking_lot = "0.11.1" 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. # These dependencies are only used for the 'http_bench_*_ops' examples.
[dev-dependencies] [dev-dependencies]
deno_ast = { version = "0.13.0", features = ["transpiling"] } deno_ast = { version = "0.13.0", features = ["transpiling"] }
tokio = { version = "1.10.1", features = ["full"] } tokio = { version = "1.17", features = ["full"] }

View file

@ -16,5 +16,5 @@ path = "lib.rs"
[dependencies] [dependencies]
async-trait = "0.1" async-trait = "0.1"
deno_core = { version = "0.127.0", path = "../../core" } 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"] } uuid = { version = "0.8.2", features = ["v4"] }

View file

@ -35,5 +35,5 @@ serde_bytes = "0.11"
sha-1 = "0.9.7" sha-1 = "0.9.7"
sha2 = "0.9.5" sha2 = "0.9.5"
spki = "0.4.1" spki = "0.4.1"
tokio = { version = "1.10.1", features = ["full"] } tokio = { version = "1.17", features = ["full"] }
uuid = { version = "0.8.2", features = ["v4"] } uuid = { version = "0.8.2", features = ["v4"] }

View file

@ -22,6 +22,6 @@ dyn-clone = "1"
http = "0.2.4" http = "0.2.4"
reqwest = { version = "0.11.10", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] } reqwest = { version = "0.11.10", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] }
serde = { version = "1.0.129", features = ["derive"] } 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-stream = "0.1.7"
tokio-util = "0.6.7" tokio-util = "0.7.0"

View file

@ -18,7 +18,7 @@ deno_core = { version = "0.127.0", path = "../../core" }
dlopen = "0.1.8" dlopen = "0.1.8"
libffi = "2.0.0" libffi = "2.0.0"
serde = { version = "1.0.129", features = ["derive"] } serde = { version = "1.0.129", features = ["derive"] }
tokio = { version = "1.10.1", features = ["full"] } tokio = { version = "1.17", features = ["full"] }
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = ["errhandlingapi", "minwindef", "ntdef", "winbase", "winnt"] } winapi = { version = "0.3.9", features = ["errhandlingapi", "minwindef", "ntdef", "winbase", "winnt"] }

View file

@ -27,5 +27,5 @@ mime = "0.3.16"
percent-encoding = "2.1.0" percent-encoding = "2.1.0"
ring = "0.16.20" ring = "0.16.20"
serde = { version = "1.0.129", features = ["derive"] } serde = { version = "1.0.129", features = ["derive"] }
tokio = { version = "1.10.1", features = ["full"] } tokio = { version = "1.17", features = ["full"] }
tokio-util = { version = "0.6.7", features = ["io"] } tokio-util = { version = "0.7.0", features = ["io"] }

View file

@ -19,6 +19,6 @@ deno_tls = { version = "0.32.0", path = "../tls" }
log = "0.4.14" log = "0.4.14"
serde = { version = "1.0.129", features = ["derive"] } serde = { version = "1.0.129", features = ["derive"] }
socket2 = "0.4.2" 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-proto = "0.20.3"
trust-dns-resolver = { version = "0.20.3", features = ["tokio-runtime", "serde-config"] } trust-dns-resolver = { version = "0.20.3", features = ["tokio-runtime", "serde-config"] }

View file

@ -20,7 +20,7 @@ deno_core = { version = "0.127.0", path = "../../core" }
encoding_rs = "0.8.29" encoding_rs = "0.8.29"
flate2 = "1" flate2 = "1"
serde = "1.0.129" 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"] } uuid = { version = "0.8.2", features = ["v4", "serde"] }
[dev-dependencies] [dev-dependencies]

View file

@ -13,6 +13,6 @@ description = "WebGPU implementation for Deno"
[dependencies] [dependencies]
deno_core = { version = "0.127.0", path = "../../core" } deno_core = { version = "0.127.0", path = "../../core" }
serde = { version = "1.0", features = ["derive"] } 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-core = { version = "0.12", features = ["trace", "replay", "serde"] }
wgpu-types = { version = "0.12", features = ["trace", "replay", "serde"] } wgpu-types = { version = "0.12", features = ["trace", "replay", "serde"] }

View file

@ -19,6 +19,6 @@ deno_tls = { version = "0.32.0", path = "../tls" }
http = "0.2.4" http = "0.2.4"
hyper = { version = "0.14.12" } hyper = { version = "0.14.12" }
serde = { version = "1.0.129", features = ["derive"] } 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-rustls = "0.23.0"
tokio-tungstenite = { version = "0.16.0", features = ["rustls-tls-webpki-roots"] } tokio-tungstenite = { version = "0.16.0", features = ["rustls-tls-webpki-roots"] }

View file

@ -68,11 +68,11 @@ filetime = "0.2.15"
fs3 = "0.5.0" fs3 = "0.5.0"
http = "0.2.4" http = "0.2.4"
hyper = { version = "0.14.12", features = ["server", "stream", "http1", "http2", "runtime"] } hyper = { version = "0.14.12", features = ["server", "stream", "http1", "http2", "runtime"] }
libc = "0.2.106" libc = "0.2.121"
log = "0.4.14" log = "0.4.14"
lzzzz = '=0.8.0' lzzzz = '=0.8.0'
netif = "0.1.3" netif = "0.1.3"
notify = "=5.0.0-pre.12" notify = "=5.0.0-pre.14"
once_cell = "1.10.0" once_cell = "1.10.0"
regex = "1.5.5" regex = "1.5.5"
ring = "0.16.20" ring = "0.16.20"
@ -80,7 +80,7 @@ serde = { version = "1.0.129", features = ["derive"] }
signal-hook-registry = "1.4.0" signal-hook-registry = "1.4.0"
sys-info = "0.9.0" sys-info = "0.9.0"
termcolor = "1.1.2" termcolor = "1.1.2"
tokio = { version = "1.10.1", features = ["full"] } tokio = { version = "1.17", features = ["full"] }
uuid = { version = "0.8.2", features = ["v4"] } uuid = { version = "0.8.2", features = ["v4"] }
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]