diff --git a/Cargo.lock b/Cargo.lock index 648791d1e516c..d5f356436ffc8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -817,6 +817,12 @@ dependencies = [ "serde", ] +[[package]] +name = "bytes" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0dcbc35f504eb6fc275a6d20e4ebcda18cf50d40ba6fabff8c711fa16cb3b16" + [[package]] name = "bytes" version = "1.0.0" @@ -4847,7 +4853,7 @@ dependencies = [ "rand 0.7.3", "regex", "tokio 0.2.24", - "tokio-native-tls", + "tokio-native-tls 0.1.0", "tokio-util 0.3.1", "url", ] @@ -6731,6 +6737,20 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "tokio" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "720ba21c25078711bf456d607987d95bce90f7c3bea5abe1db587862e7a1e87c" +dependencies = [ + "autocfg 1.0.1", + "bytes 0.6.0", + "libc", + "memchr", + "mio 0.7.7", + "pin-project-lite 0.2.0", +] + [[package]] name = "tokio" version = "1.0.1" @@ -6785,6 +6805,16 @@ dependencies = [ "tokio 0.2.24", ] +[[package]] +name = "tokio-native-tls" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "501c8252b73bd01379aaae1521523c2629ff1bc6ea46c29e0baff515cee60f1b" +dependencies = [ + "native-tls", + "tokio 0.3.6", +] + [[package]] name = "tokio-openssl" version = "0.4.0" @@ -6871,10 +6901,23 @@ checksum = "6d9e878ad426ca286e4dcae09cbd4e1973a7f8987d97570e2469703dd7f5720c" dependencies = [ "futures-util", "log", - "native-tls", "pin-project 0.4.27", "tokio 0.2.24", - "tokio-native-tls", + "tungstenite", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0381c1e6e08908317cee104781ca48afe03f37cc857792b85f01f9828fb55ba3" +dependencies = [ + "futures-util", + "log", + "native-tls", + "pin-project 1.0.2", + "tokio 0.3.6", + "tokio-native-tls 0.2.0", "tungstenite", ] @@ -7642,7 +7685,7 @@ dependencies = [ "serde", "serde_json", "tokio 0.2.24", - "tokio-tungstenite", + "tokio-tungstenite 0.12.0", "url", "uuid 0.8.1", "weak-table", @@ -7764,7 +7807,7 @@ dependencies = [ "serde_json", "serde_urlencoded 0.6.1", "tokio 0.2.24", - "tokio-tungstenite", + "tokio-tungstenite 0.11.0", "tower-service", "tracing 0.1.22", "tracing-futures 0.2.4", diff --git a/lib/vector-api-client/Cargo.toml b/lib/vector-api-client/Cargo.toml index 889fdea77ab0c..15e6c276ff920 100644 --- a/lib/vector-api-client/Cargo.toml +++ b/lib/vector-api-client/Cargo.toml @@ -24,7 +24,7 @@ graphql_client = "0.9.0" # HTTP / WebSockets reqwest = { version = "0.10.9", features = ["json"] } -tokio-tungstenite = { version = "0.11.0", features = ["tls"] } +tokio-tungstenite = { version = "0.12.0", features = ["tls"] } # External libs weak-table = "0.3.0"