diff --git a/Cargo.lock b/Cargo.lock index 4d91d5d1ea2..b11d8803271 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -182,15 +182,15 @@ dependencies = [ [[package]] name = "async-tungstenite" -version = "0.7.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2760f968801f873112e651c5a9c3b60c11ae6d66e7ca3f2d51aafbfcef9495fa" +checksum = "9ce503a5cb1e7450af7d211b86b84807791b251f335b2f43f1e26b85a416f315" dependencies = [ "futures-io", "futures-util", "log", "openssl", - "pin-project 0.4.22", + "pin-project", "tokio 0.2.21", "tokio-openssl 0.4.0", "tungstenite", @@ -1928,7 +1928,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project 1.0.2", + "pin-project", "pin-utils", "proc-macro-hack", "proc-macro-nested", @@ -4609,33 +4609,13 @@ dependencies = [ "siphasher", ] -[[package]] -name = "pin-project" -version = "0.4.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12e3a6cdbfe94a5e4572812a0201f8c0ed98c1c452c7b8563ce2276988ef9c17" -dependencies = [ - "pin-project-internal 0.4.22", -] - [[package]] name = "pin-project" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ccc2237c2c489783abd8c4c80e5450fc0e98644555b1364da68cc29aa151ca7" dependencies = [ - "pin-project-internal 1.0.2", -] - -[[package]] -name = "pin-project-internal" -version = "0.4.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a0ffd45cf79d88737d7cc85bfd5d2894bee1139b356e616fe85dc389c61aaf7" -dependencies = [ - "proc-macro2", - "quote", - "syn", + "pin-project-internal", ] [[package]] diff --git a/components/net/Cargo.toml b/components/net/Cargo.toml index dbdeffbbd97..9bca5e1435b 100644 --- a/components/net/Cargo.toml +++ b/components/net/Cargo.toml @@ -16,7 +16,7 @@ doctest = false [dependencies] async-recursion = "0.3.2" -async-tungstenite = { version = "0.7.1", features = ["tokio-openssl"] } +async-tungstenite = { version = "0.9", features = ["tokio-openssl"] } base64 = "0.10.1" brotli = "3" bytes = "0.4" @@ -60,7 +60,7 @@ servo_config = { path = "../config" } servo_url = { path = "../url" } time = "0.1.41" tokio = "0.1" -tokio2 = { version = "0.2", package = "tokio", features = ["sync", "macros", "rt-threaded"] } +tokio2 = { version = "0.2", package = "tokio", features = ["sync", "macros", "rt-threaded", "tcp"] } tokio-compat = "0.1" tungstenite = "0.11" url = "2.0"