diff --git a/Cargo.lock b/Cargo.lock index 73c39383..a862dd7a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2614,9 +2614,9 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.18.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" +checksum = "2b2dbec703c26b00d74844519606ef15d09a7d6857860f84ad223dec002ddea2" dependencies = [ "futures-util", "log", @@ -2833,13 +2833,13 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "tungstenite" -version = "0.18.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30ee6ab729cd4cf0fd55218530c4522ed30b7b6081752839b68fcec8d0960788" +checksum = "e862a1c4128df0112ab625f55cd5c934bcb4312ba80b39ae4b4835a3fd58e649" dependencies = [ - "base64 0.13.1", "byteorder", "bytes", + "data-encoding", "http", "httparse", "log", diff --git a/clash_lib/Cargo.toml b/clash_lib/Cargo.toml index 21b341c9..dea7f433 100644 --- a/clash_lib/Cargo.toml +++ b/clash_lib/Cargo.toml @@ -58,7 +58,7 @@ dhcproto = "0.8" rand = "0.8" socket2 = "0.4" -tokio-tungstenite = "0.18.0" +tokio-tungstenite = "0.20.0" tracing = "0.1" tracing-subscriber = "0.3"