From 019c3fb1728a497a5bde272035dc226a32442c4f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Mar 2021 14:58:48 +0000 Subject: [PATCH] Bump tokio from 0.2.24 to 1.3.0 Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.24 to 1.3.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.24...tokio-1.3.0) Signed-off-by: dependabot[bot] --- Cargo.lock | 21 +++++++++++++++++++-- Cargo.toml | 2 +- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d39b0db..f3098dd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -451,7 +451,7 @@ dependencies = [ "serde_yaml", "structopt", "tempfile", - "tokio 0.2.25", + "tokio 1.3.0", "tracing", "tracing-futures", "tracing-subscriber", @@ -4168,7 +4168,7 @@ dependencies = [ "pin-project-lite 0.1.12", "signal-hook-registry", "slab", - "tokio-macros", + "tokio-macros 0.2.6", "winapi 0.3.9", ] @@ -4183,7 +4183,13 @@ dependencies = [ "libc", "memchr", "mio 0.7.9", + "num_cpus", + "once_cell", + "parking_lot 0.11.1", "pin-project-lite 0.2.6", + "signal-hook-registry", + "tokio-macros 1.1.0", + "winapi 0.3.9", ] [[package]] @@ -4197,6 +4203,17 @@ dependencies = [ "syn", ] +[[package]] +name = "tokio-macros" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caf7b11a536f46a809a8a9f0bb4237020f70ecbf115b842360afb127ea2fda57" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tokio-native-tls" version = "0.3.0" diff --git a/Cargo.toml b/Cargo.toml index 777d2c0..d01313d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ tempfile = "3.1" rmp-serde = "0.14.3" # holochain_websocket uses tokio 0.2 # TODO: bump to 0.3 after https://github.com/holochain/holochain/pull/461 is merged -tokio = { version = "0.2", features = ["full"] } +tokio = { version = "1.3", features = ["full"] } tracing = { version = "0.1", features = ["attributes"] } tracing-futures = "0.2" tracing-subscriber = "0.2"