diff --git a/Cargo.lock b/Cargo.lock index ac188de531..666741cf5d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -328,15 +328,6 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c70beb79cbb5ce9c4f8e20849978f34225931f665bb49efa6982875a4d5facb3" -[[package]] -name = "block-buffer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" -dependencies = [ - "generic-array 0.14.6", -] - [[package]] name = "block-buffer" version = "0.10.4" @@ -1168,7 +1159,7 @@ dependencies = [ "rsa", "scrypt", "serde", - "sha-1 0.10.0", + "sha-1", "sha2", "sha3", "signature 1.6.4", @@ -1361,7 +1352,6 @@ dependencies = [ "serde", "tokio", "tokio-rustls", - "tokio-tungstenite", ] [[package]] @@ -1452,7 +1442,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" dependencies = [ - "block-buffer 0.10.4", + "block-buffer", "const-oid", "crypto-common", "subtle", @@ -4107,19 +4097,6 @@ dependencies = [ "v8", ] -[[package]] -name = "sha-1" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - [[package]] name = "sha-1" version = "0.10.0" @@ -4669,7 +4646,7 @@ dependencies = [ "indexmap", "once_cell", "serde", - "sha-1 0.10.0", + "sha-1", "string_enum", "swc_atoms", "swc_common", @@ -4930,7 +4907,6 @@ dependencies = [ "tempfile", "tokio", "tokio-rustls", - "tokio-tungstenite", "url", "winapi", ] @@ -5094,22 +5070,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "tokio-tungstenite" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e80b39df6afcc12cdf752398ade96a6b9e99c903dfdc36e53ad10b9c366bca72" -dependencies = [ - "futures-util", - "log", - "rustls", - "tokio", - "tokio-rustls", - "tungstenite", - "webpki", - "webpki-roots", -] - [[package]] name = "tokio-util" version = "0.7.7" @@ -5362,27 +5322,6 @@ dependencies = [ "termcolor", ] -[[package]] -name = "tungstenite" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ad3713a14ae247f22a728a0456a545df14acf3867f905adff84be99e23b3ad1" -dependencies = [ - "base64 0.13.1", - "byteorder", - "bytes", - "http", - "httparse", - "log", - "rand", - "rustls", - "sha-1 0.9.8", - "thiserror", - "url", - "utf-8", - "webpki", -] - [[package]] name = "twox-hash" version = "1.6.3" diff --git a/Cargo.toml b/Cargo.toml index 9edd7f8357..0602f2a5f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -134,7 +134,6 @@ tempfile = "3.4.0" thiserror = "=1.0.38" tokio = { version = "=1.25.0", features = ["full"] } tokio-rustls = "0.23.3" -tokio-tungstenite = "0.16.1" tokio-util = "0.7.4" tower-lsp = { version = "=0.17.0", features = ["proposed"] } url = { version = "2.3.1", features = ["serde", "expose_internals"] } diff --git a/ext/websocket/Cargo.toml b/ext/websocket/Cargo.toml index 006c73a5f2..82be1d8636 100644 --- a/ext/websocket/Cargo.toml +++ b/ext/websocket/Cargo.toml @@ -24,4 +24,3 @@ hyper = { workspace = true, features = ["backports"] } serde.workspace = true tokio.workspace = true tokio-rustls.workspace = true -tokio-tungstenite = { workspace = true, features = ["rustls-tls-webpki-roots"] } diff --git a/ext/websocket/lib.rs b/ext/websocket/lib.rs index 943b5d47c7..07cddc85bb 100644 --- a/ext/websocket/lib.rs +++ b/ext/websocket/lib.rs @@ -52,7 +52,6 @@ use fastwebsockets::OpCode; use fastwebsockets::Role; use fastwebsockets::WebSocket; -pub use tokio_tungstenite; // Re-export tokio_tungstenite mod stream; #[derive(Clone)] diff --git a/test_util/Cargo.toml b/test_util/Cargo.toml index 5934913112..115eea326c 100644 --- a/test_util/Cargo.toml +++ b/test_util/Cargo.toml @@ -41,7 +41,6 @@ tar.workspace = true tempfile.workspace = true tokio.workspace = true tokio-rustls.workspace = true -tokio-tungstenite = { workspace = true, features = ["rustls-tls-webpki-roots"] } url.workspace = true [target.'cfg(unix)'.dependencies]