From 11d44ca530d564244ee6a879bc60940d8284e3c3 Mon Sep 17 00:00:00 2001 From: Erikson Tung Date: Fri, 4 Feb 2022 18:22:42 -0800 Subject: [PATCH] apiclient: pin tokio-tungstenite to v0.15 This pins the tokio-tungstenite dependency to v0.15 Upgrading to v0.16 requires some additional thought and work. --- sources/Cargo.lock | 9 +++++---- sources/api/apiclient/Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/sources/Cargo.lock b/sources/Cargo.lock index 07e163cbceb..daeac44f6d4 100644 --- a/sources/Cargo.lock +++ b/sources/Cargo.lock @@ -3556,12 +3556,13 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.16.1" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e80b39df6afcc12cdf752398ade96a6b9e99c903dfdc36e53ad10b9c366bca72" +checksum = "511de3f85caf1c98983545490c3d09685fa8eb634e57eec22bb4db271f46cbd8" dependencies = [ "futures-util", "log", + "pin-project", "tokio", "tungstenite", ] @@ -3650,9 +3651,9 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "tungstenite" -version = "0.16.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ad3713a14ae247f22a728a0456a545df14acf3867f905adff84be99e23b3ad1" +checksum = "a0b2d8558abd2e276b0a8df5c05a2ec762609344191e5fd23e292c910e9165b5" dependencies = [ "base64", "byteorder", diff --git a/sources/api/apiclient/Cargo.toml b/sources/api/apiclient/Cargo.toml index 1a33eef134a..4b39a6843f4 100644 --- a/sources/api/apiclient/Cargo.toml +++ b/sources/api/apiclient/Cargo.toml @@ -33,7 +33,7 @@ signal-hook = "0.3" simplelog = "0.11" snafu = { version = "0.7", features = ["futures"] } tokio = { version = "~1.14", default-features = false, features = ["fs", "io-std", "io-util", "macros", "rt-multi-thread", "time"] } # LTS -tokio-tungstenite = { version = "0.16", default-features = false, features = ["connect"] } +tokio-tungstenite = { version = "0.15", default-features = false, features = ["connect"] } toml = "0.5" unindent = "0.1" url = "2.2.1"