From 2b2e7432d933848c4d6be186aad5e0393db5adf9 Mon Sep 17 00:00:00 2001 From: driftluo Date: Thu, 17 Feb 2022 17:16:55 +0800 Subject: [PATCH] fix: upgrade tentacle --- Cargo.lock | 12 ++++++------ core/cross-client/Cargo.toml | 2 +- core/network/Cargo.toml | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ee69cde79..a5a3495df 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -942,7 +942,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "tokio-util 0.6.9", + "tokio-util 0.7.0", ] [[package]] @@ -1033,7 +1033,7 @@ dependencies = [ "snap", "socket2", "tentacle", - "tokio-util 0.6.9", + "tokio-util 0.7.0", "x25519-dalek", "zeroize_derive", ] @@ -3717,9 +3717,9 @@ dependencies = [ [[package]] name = "tentacle" -version = "0.4.0-beta.3" +version = "0.4.0-beta.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74f61345b51c6a9d775561ee0704c1cd8084457fc5fcd4a508b95c656ef8f7d7" +checksum = "863528f8370d37ef73e403c59699e0383871f50b464a96262b7320303313255e" dependencies = [ "async-trait", "bytes", @@ -3730,14 +3730,14 @@ dependencies = [ "molecule", "nohash-hasher", "once_cell", - "parking_lot 0.11.2", + "parking_lot 0.12.0", "rand 0.8.5", "socket2", "tentacle-multiaddr", "tentacle-secio", "thiserror", "tokio", - "tokio-util 0.6.9", + "tokio-util 0.7.0", "tokio-yamux", "wasm-bindgen", "wasm-bindgen-futures", diff --git a/core/cross-client/Cargo.toml b/core/cross-client/Cargo.toml index 7614b838c..b0515999e 100644 --- a/core/cross-client/Cargo.toml +++ b/core/cross-client/Cargo.toml @@ -18,7 +18,7 @@ log = "0.4" reqwest = { version = "0.11.1", features = ["json"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -tokio-util = { version = "0.6", features = ["codec"] } +tokio-util = { version = "0.7", features = ["codec"] } common-config-parser = { path = "../../common/config-parser" } common-crypto = { path = "../../common/crypto" } diff --git a/core/network/Cargo.toml b/core/network/Cargo.toml index 28946b90b..286d2cf96 100644 --- a/core/network/Cargo.toml +++ b/core/network/Cargo.toml @@ -19,8 +19,8 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1" snap = "1.0" socket2 = "0.4" -tentacle = { version = "0.4.0-beta.3", features = ["parking_lot"] } -tokio-util = { version = "0.6.9", features = ["codec"] } +tentacle = { version = "0.4.0-beta.4", features = ["parking_lot"] } +tokio-util = { version = "0.7", features = ["codec"] } protocol = { path = "../../protocol", package = "axon-protocol" }