From cd02673f6b6b5ed9853c753a0e051b17965ea6d9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Mar 2021 07:25:10 +0000 Subject: [PATCH] Bump tokio-util from 0.3.1 to 0.6.4 Bumps [tokio-util](https://github.com/tokio-rs/tokio) from 0.3.1 to 0.6.4. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.3.1...tokio-util-0.6.4) Signed-off-by: dependabot[bot] --- Cargo.lock | 188 ++++++++++++++----------- network/Cargo.toml | 2 +- network/socket-bench-server/Cargo.toml | 2 +- storage/backup/backup-cli/Cargo.toml | 2 +- 4 files changed, 112 insertions(+), 82 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fac8089b7582..20e215f59793 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -178,7 +178,7 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb1ff21a63d3262af46b9f33a826a8d134e2d0d9b2179c86034948b732ea8b2a" dependencies = [ - "bytes", + "bytes 0.5.6", "flate2", "futures-core", "memchr", @@ -241,7 +241,7 @@ dependencies = [ "async-trait", "backup-service", "byteorder", - "bytes", + "bytes 0.5.6", "diem-config", "diem-crypto", "diem-infallible", @@ -272,8 +272,8 @@ dependencies = [ "serde_json", "storage-interface", "structopt 0.3.21", - "tokio", - "tokio-util", + "tokio 0.2.22", + "tokio-util 0.6.4", "toml", ] @@ -282,7 +282,7 @@ name = "backup-service" version = "0.1.0" dependencies = [ "anyhow", - "bytes", + "bytes 0.5.6", "diem-config", "diem-crypto", "diem-logger", @@ -298,7 +298,7 @@ dependencies = [ "reqwest", "serde", "storage-interface", - "tokio", + "tokio 0.2.22", "warp", ] @@ -449,7 +449,7 @@ version = "0.1.0" dependencies = [ "diem-workspace-hack", "futures 0.3.8", - "tokio", + "tokio 0.2.22", ] [[package]] @@ -570,6 +570,12 @@ dependencies = [ "serde", ] +[[package]] +name = "bytes" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040" + [[package]] name = "c_linked_list" version = "1.1.1" @@ -645,7 +651,7 @@ dependencies = [ "diem-types", "diem-workspace-hack", "futures 0.3.8", - "tokio", + "tokio 0.2.22", ] [[package]] @@ -735,7 +741,7 @@ dependencies = [ "rustyline", "serde", "structopt 0.3.21", - "tokio", + "tokio 0.2.22", "transaction-builder", "walkdir", ] @@ -803,7 +809,7 @@ dependencies = [ "state-synchronizer", "structopt 0.3.21", "termion", - "tokio", + "tokio 0.2.22", "toml", "transaction-builder", ] @@ -893,7 +899,7 @@ dependencies = [ "anyhow", "async-trait", "byteorder", - "bytes", + "bytes 0.5.6", "channel", "consensus-types", "diem-config", @@ -933,7 +939,7 @@ dependencies = [ "tempfile", "termion", "thiserror", - "tokio", + "tokio 0.2.22", "vm-genesis", "vm-validator", ] @@ -1264,12 +1270,12 @@ name = "debug-interface" version = "0.1.0" dependencies = [ "anyhow", - "bytes", + "bytes 0.5.6", "diem-logger", "diem-metrics", "diem-workspace-hack", "reqwest", - "tokio", + "tokio 0.2.22", "warp", ] @@ -1343,7 +1349,7 @@ dependencies = [ "anyhow", "bitvec", "byteorder", - "bytes", + "bytes 0.5.6", "criterion", "curve25519-dalek 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "curve25519-dalek 3.0.0 (git+https://github.com/novifinancial/curve25519-dalek.git?branch=fiat3)", @@ -1434,7 +1440,7 @@ dependencies = [ "libra-canonical-serialization", "reqwest", "structopt 0.3.21", - "tokio", + "tokio 0.2.22", ] [[package]] @@ -1459,7 +1465,7 @@ dependencies = [ "serde_json", "structopt 0.3.21", "tempfile", - "tokio", + "tokio 0.2.22", "transaction-builder-generated", "warp", ] @@ -1636,7 +1642,7 @@ dependencies = [ "serde", "serde_json", "storage-interface", - "tokio", + "tokio 0.2.22", "transaction-builder-generated", "vm-genesis", "vm-validator", @@ -1658,7 +1664,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "tokio", + "tokio 0.2.22", "warp", ] @@ -1710,7 +1716,7 @@ dependencies = [ "serde", "storage-interface", "thiserror", - "tokio", + "tokio 0.2.22", "transaction-builder-generated", "vm-validator", ] @@ -1799,7 +1805,7 @@ dependencies = [ "storage-interface", "storage-service", "subscription-service", - "tokio", + "tokio 0.2.22", "vm-validator", ] @@ -1818,7 +1824,7 @@ dependencies = [ "prometheus", "rusty-fork", "serde_json", - "tokio", + "tokio 0.2.22", ] [[package]] @@ -1908,7 +1914,7 @@ dependencies = [ "storage-service", "structopt 0.3.21", "subscription-service", - "tokio", + "tokio 0.2.22", ] [[package]] @@ -1954,7 +1960,7 @@ version = "0.1.0" dependencies = [ "diem-logger", "diem-workspace-hack", - "tokio", + "tokio 0.2.22", ] [[package]] @@ -1978,7 +1984,7 @@ dependencies = [ "serde_json", "storage-interface", "thiserror", - "tokio", + "tokio 0.2.22", "ureq", "vm-validator", ] @@ -2114,7 +2120,7 @@ dependencies = [ "serde", "serde_json", "structopt 0.3.21", - "tokio", + "tokio 0.2.22", ] [[package]] @@ -2148,7 +2154,7 @@ name = "diem-types" version = "0.1.0" dependencies = [ "anyhow", - "bytes", + "bytes 0.5.6", "chrono", "diem-crypto", "diem-crypto-derive", @@ -2261,7 +2267,7 @@ dependencies = [ name = "diem-workspace-hack" version = "0.1.0" dependencies = [ - "bytes", + "bytes 0.5.6", "cc", "log", "memchr", @@ -3152,7 +3158,7 @@ version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e4728fd124914ad25e99e3d15a9361a879f6620f63cb56bbb08f95abb97a535" dependencies = [ - "bytes", + "bytes 0.5.6", "fnv", "futures-core", "futures-sink", @@ -3160,8 +3166,8 @@ dependencies = [ "http", "indexmap", "slab", - "tokio", - "tokio-util", + "tokio 0.2.22", + "tokio-util 0.3.1", "tracing", "tracing-futures", ] @@ -3200,7 +3206,7 @@ checksum = "ed18eb2459bf1a09ad2d6b1547840c3e5e62882fa09b9a6a20b1de8e3228848f" dependencies = [ "base64 0.12.3", "bitflags", - "bytes", + "bytes 0.5.6", "headers-core", "http", "mime", @@ -3288,7 +3294,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9" dependencies = [ - "bytes", + "bytes 0.5.6", "fnv", "itoa", ] @@ -3299,7 +3305,7 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" dependencies = [ - "bytes", + "bytes 0.5.6", "http", ] @@ -3336,7 +3342,7 @@ version = "0.13.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f6ad767baac13b44d4529fcf58ba2cd0995e36e7b435bc5b039de6f47e880dbf" dependencies = [ - "bytes", + "bytes 0.5.6", "futures-channel", "futures-core", "futures-util", @@ -3348,7 +3354,7 @@ dependencies = [ "itoa", "pin-project 1.0.2", "socket2", - "tokio", + "tokio 0.2.22", "tower-service", "tracing", "want", @@ -3360,10 +3366,10 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d979acc56dcb5b8dddba3917601745e877576475aa046df3226eabdecef78eed" dependencies = [ - "bytes", + "bytes 0.5.6", "hyper", "native-tls", - "tokio", + "tokio 0.2.22", "tokio-tls", ] @@ -3427,7 +3433,7 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19a8a95243d5a0398cae618ec29477c6e3cb631152be5c19481f80bc71559754" dependencies = [ - "bytes", + "bytes 0.5.6", ] [[package]] @@ -3591,7 +3597,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57f95fd36c08ce592e67400a0f1a66f432196997d5a7e9a97e8743c33d8a9312" dependencies = [ "base64 0.12.3", - "bytes", + "bytes 0.5.6", "chrono", "serde", "serde-value", @@ -3622,7 +3628,7 @@ checksum = "f4f52dbe2c0e7ca54e43f1bc7b77b916750e63d7694e5a18c09b11307acc6b9d" dependencies = [ "Inflector", "base64 0.12.3", - "bytes", + "bytes 0.5.6", "chrono", "dirs 3.0.1", "either", @@ -3640,7 +3646,7 @@ dependencies = [ "static_assertions", "thiserror", "time 0.2.22", - "tokio", + "tokio 0.2.22", "url", ] @@ -3871,7 +3877,7 @@ dependencies = [ name = "memsocket" version = "0.1.0" dependencies = [ - "bytes", + "bytes 0.5.6", "diem-infallible", "diem-workspace-hack", "futures 0.3.8", @@ -4165,7 +4171,7 @@ dependencies = [ "simplelog", "spec-lang", "test-utils", - "tokio", + "tokio 0.2.22", "toml", "vm", ] @@ -4313,7 +4319,7 @@ dependencies = [ name = "netcore" version = "0.1.0" dependencies = [ - "bytes", + "bytes 0.5.6", "diem-logger", "diem-network-address", "diem-types", @@ -4322,7 +4328,7 @@ dependencies = [ "memsocket", "pin-project 1.0.2", "serde", - "tokio", + "tokio 0.2.22", "url", ] @@ -4331,7 +4337,7 @@ name = "network" version = "0.1.0" dependencies = [ "anyhow", - "bytes", + "bytes 0.5.6", "channel", "criterion", "diem-bitvec", @@ -4365,9 +4371,9 @@ dependencies = [ "short-hex-str", "socket-bench-server", "thiserror", - "tokio", + "tokio 0.2.22", "tokio-retry", - "tokio-util", + "tokio-util 0.6.4", ] [[package]] @@ -4393,7 +4399,7 @@ dependencies = [ "rand 0.7.3", "serde", "subscription-service", - "tokio", + "tokio 0.2.22", "tokio-retry", ] @@ -4417,7 +4423,7 @@ dependencies = [ "network", "once_cell", "subscription-service", - "tokio", + "tokio 0.2.22", ] [[package]] @@ -5040,7 +5046,7 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce49aefe0a6144a45de32927c77bd2859a5f7677b55f220ae5b744e87389c212" dependencies = [ - "bytes", + "bytes 0.5.6", "prost-derive", ] @@ -5050,7 +5056,7 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "02b10678c913ecbd69350e8535c3aef91a8676c0773fc1d7b95cdd196d7f2f26" dependencies = [ - "bytes", + "bytes 0.5.6", "heck", "itertools 0.8.2", "log", @@ -5081,7 +5087,7 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1834f67c0697c001304b75be76f67add9c89742eda3a085ad8ee0bb38c3417aa" dependencies = [ - "bytes", + "bytes 0.5.6", "prost", ] @@ -5454,7 +5460,7 @@ checksum = "fb15d6255c792356a0f578d8a645c677904dc02e862bebe2ecc18e0c01b9a0ce" dependencies = [ "async-compression", "base64 0.13.0", - "bytes", + "bytes 0.5.6", "encoding_rs", "futures-core", "futures-util", @@ -5474,7 +5480,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded 0.7.0", - "tokio", + "tokio 0.2.22", "tokio-tls", "url", "wasm-bindgen", @@ -5532,7 +5538,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7af1c42491edaa3b2582c6f3a0221f5ef4ed7a02c71cf1f614bb12877e1d44dd" dependencies = [ "async-trait", - "bytes", + "bytes 0.5.6", "futures 0.3.8", "rusoto_core", "serde_urlencoded 0.6.1", @@ -5547,7 +5553,7 @@ checksum = "e977941ee0658df96fca7291ecc6fc9a754600b21ad84b959eb1dbbc9d5abcc7" dependencies = [ "async-trait", "base64 0.12.3", - "bytes", + "bytes 0.5.6", "crc32fast", "futures 0.3.8", "http", @@ -5563,7 +5569,7 @@ dependencies = [ "rustc_version", "serde", "serde_json", - "tokio", + "tokio 0.2.22", "xml-rs", ] @@ -5583,7 +5589,7 @@ dependencies = [ "serde", "serde_json", "shlex", - "tokio", + "tokio 0.2.22", "zeroize", ] @@ -5594,7 +5600,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1146e37a7c1df56471ea67825fe09bbbd37984b5f6e201d8b2e0be4ee15643d8" dependencies = [ "async-trait", - "bytes", + "bytes 0.5.6", "futures 0.3.8", "rusoto_core", "xml-rs", @@ -5607,7 +5613,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97a740a88dde8ded81b6f2cff9cd5e054a5a2e38a38397260f7acdd2c85d17dd" dependencies = [ "base64 0.12.3", - "bytes", + "bytes 0.5.6", "futures 0.3.8", "hex", "hmac 0.8.1", @@ -5622,7 +5628,7 @@ dependencies = [ "serde", "sha2", "time 0.2.22", - "tokio", + "tokio 0.2.22", ] [[package]] @@ -5632,7 +5638,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3815b8c0fc1c50caf9e87603f23daadfedb18d854de287b361c69f68dc9d49e0" dependencies = [ "async-trait", - "bytes", + "bytes 0.5.6", "chrono", "futures 0.3.8", "rusoto_core", @@ -6223,7 +6229,7 @@ dependencies = [ "rust_decimal", "rusty-fork", "statistical", - "tokio", + "tokio 0.2.22", "transaction-builder", ] @@ -6243,8 +6249,8 @@ dependencies = [ "network", "network-builder", "rand 0.7.3", - "tokio", - "tokio-util", + "tokio 0.2.22", + "tokio-util 0.6.4", ] [[package]] @@ -6304,7 +6310,7 @@ name = "state-synchronizer" version = "0.1.0" dependencies = [ "anyhow", - "bytes", + "bytes 0.5.6", "channel", "compiled-stdlib", "diem-config", @@ -6339,7 +6345,7 @@ dependencies = [ "storage-interface", "storage-service", "subscription-service", - "tokio", + "tokio 0.2.22", "transaction-builder", "vm-genesis", ] @@ -6491,7 +6497,7 @@ dependencies = [ "rand 0.7.3", "storage-client", "storage-interface", - "tokio", + "tokio 0.2.22", ] [[package]] @@ -6855,7 +6861,7 @@ version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d34ca54d84bf2b5b4d7d31e901a8464f7b60ac145a284fba25ceb801f2ddccd" dependencies = [ - "bytes", + "bytes 0.5.6", "fnv", "futures-core", "iovec", @@ -6873,6 +6879,16 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "tokio" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d56477f6ed99e10225f38f9f75f872f29b8b8bd8c0b946f63345bb144e9eeda" +dependencies = [ + "autocfg 1.0.1", + "pin-project-lite 0.2.0", +] + [[package]] name = "tokio-executor" version = "0.1.10" @@ -6924,7 +6940,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a70f4fcd7b3b24fb194f837560168208f669ca8cb70d0c4b862944452396343" dependencies = [ "native-tls", - "tokio", + "tokio 0.2.22", ] [[package]] @@ -6936,7 +6952,7 @@ dependencies = [ "futures-util", "log", "pin-project 0.4.27", - "tokio", + "tokio 0.2.22", "tungstenite", ] @@ -6946,13 +6962,27 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499" dependencies = [ - "bytes", + "bytes 0.5.6", "futures-core", - "futures-io", "futures-sink", "log", "pin-project-lite 0.1.11", - "tokio", + "tokio 0.2.22", +] + +[[package]] +name = "tokio-util" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec31e5cc6b46e653cf57762f36f71d5e6386391d88a72fd6db4508f8f676fb29" +dependencies = [ + "bytes 1.0.1", + "futures-core", + "futures-io", + "futures-sink", + "log", + "pin-project-lite 0.2.0", + "tokio 1.3.0", ] [[package]] @@ -7074,7 +7104,7 @@ checksum = "f0308d80d86700c5878b9ef6321f020f29b1bb9d5ff3cab25e75e23f3a492a23" dependencies = [ "base64 0.12.3", "byteorder", - "bytes", + "bytes 0.5.6", "http", "httparse", "input_buffer", @@ -7349,7 +7379,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f41be6df54c97904af01aa23e613d4521eed7ab23537cede692d4058f6449407" dependencies = [ - "bytes", + "bytes 0.5.6", "futures 0.3.8", "headers", "http", @@ -7363,7 +7393,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded 0.6.1", - "tokio", + "tokio 0.2.22", "tokio-tungstenite", "tower-service", "tracing", diff --git a/network/Cargo.toml b/network/Cargo.toml index 859ae19a6073..2779c53ff68a 100644 --- a/network/Cargo.toml +++ b/network/Cargo.toml @@ -26,7 +26,7 @@ serde_bytes = "0.11.5" thiserror = "1.0.22" tokio = { version = "0.2.22", features = ["full"] } tokio-retry = "0.2.0" -tokio-util = { version = "0.3.1", features = ["codec"] } +tokio-util = { version = "0.6.4", features = ["codec"] } bitvec = { path = "../common/bitvec", version = "0.1.0", package = "diem-bitvec" } channel = { path = "../common/channel", version = "0.1.0" } diff --git a/network/socket-bench-server/Cargo.toml b/network/socket-bench-server/Cargo.toml index 7c5c0a28944d..0e2de7b424ae 100644 --- a/network/socket-bench-server/Cargo.toml +++ b/network/socket-bench-server/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] futures = "0.3.8" tokio = { version = "0.2.22", features = ["full"] } -tokio-util = { version = "0.3.1", features = ["codec"] } +tokio-util = { version = "0.6.4", features = ["codec"] } diem-crypto = { path = "../../crypto/crypto" } diem-config = { path = "../../config" } diff --git a/storage/backup/backup-cli/Cargo.toml b/storage/backup/backup-cli/Cargo.toml index c2e27b566623..ba1567e53dd2 100644 --- a/storage/backup/backup-cli/Cargo.toml +++ b/storage/backup/backup-cli/Cargo.toml @@ -27,7 +27,7 @@ serde_json = "1.0.60" structopt = "0.3.21" toml = "0.5.7" tokio = { version = "0.2.22", features = ["full"] } -tokio-util = { version = "0.3.1", features = ["compat"] } +tokio-util = { version = "0.6.4", features = ["compat"] } executor = { path = "../../../execution/executor", version = "0.1.0" } executor-test-helpers = { path = "../../../execution/executor-test-helpers", version = "0.1.0", optional = true }