diff --git a/Cargo.lock b/Cargo.lock index f9d598b3..0332e640 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -874,7 +874,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.9", "indexmap 2.1.0", "slab", "tokio", @@ -932,6 +932,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.3" @@ -939,7 +950,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "399c583b2979440c60be0821a6199eca73bc3c8dcd9d070d75ac726e2c6186e5" dependencies = [ "bytes", - "http", + "http 0.2.9", "pin-project-lite", ] @@ -982,7 +993,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.9", "http-body", "httparse", "httpdate", @@ -1664,7 +1675,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.9", "http-body", "hyper", "hyper-tls", @@ -1703,7 +1714,7 @@ dependencies = [ "bytes", "criterion", "futures-util", - "http", + "http 0.2.9", "lazy_static", "native-tls", "reqwest", @@ -1712,7 +1723,7 @@ dependencies = [ "thiserror", "tokio", "tokio-tungstenite", - "tungstenite", + "tungstenite 0.21.0", "url", ] @@ -2170,7 +2181,7 @@ dependencies = [ "native-tls", "tokio", "tokio-native-tls", - "tungstenite", + "tungstenite 0.20.1", ] [[package]] @@ -2267,7 +2278,7 @@ dependencies = [ "byteorder", "bytes", "data-encoding", - "http", + "http 0.2.9", "httparse", "log", "native-tls", @@ -2278,6 +2289,25 @@ dependencies = [ "utf-8", ] +[[package]] +name = "tungstenite" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1" +dependencies = [ + "byteorder", + "bytes", + "data-encoding", + "http 1.1.0", + "httparse", + "log", + "rand", + "sha1", + "thiserror", + "url", + "utf-8", +] + [[package]] name = "typenum" version = "1.14.0" diff --git a/engineio/Cargo.toml b/engineio/Cargo.toml index 7eb66c17..716aad22 100644 --- a/engineio/Cargo.toml +++ b/engineio/Cargo.toml @@ -22,7 +22,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" http = "0.2.9" tokio-tungstenite = { version = "0.20.1", features = ["native-tls"] } -tungstenite = "0.20.1" +tungstenite = "0.21.0" tokio = "1.36.0" futures-util = { version = "0.3", default-features = false, features = ["sink"] } async-trait = "0.1.79"