diff --git a/backend/Cargo.lock b/backend/Cargo.lock index 17d42f81..acd49be8 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -270,7 +270,7 @@ dependencies = [ "fnv", "futures-util", "handlebars", - "http", + "http 0.2.9", "indexmap 2.0.0", "mime", "multer", @@ -442,6 +442,19 @@ dependencies = [ "tungstenite 0.19.0", ] +[[package]] +name = "async-tungstenite" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3609af4bbf701ddaf1f6bb4e6257dff4ff8932327d0e685d3f653724c258b1ac" +dependencies = [ + "futures-io", + "futures-util", + "log", + "pin-project-lite", + "tungstenite 0.21.0", +] + [[package]] name = "atoi" version = "1.0.0" @@ -488,7 +501,7 @@ dependencies = [ "aws-smithy-types", "aws-types", "bytes", - "http", + "http 0.2.9", "http-body", "lazy_static", "percent-encoding", @@ -512,7 +525,7 @@ dependencies = [ "aws-smithy-types", "aws-types", "fastrand 2.0.0", - "http", + "http 0.2.9", "percent-encoding", "tracing", "uuid", @@ -540,7 +553,7 @@ dependencies = [ "aws-smithy-xml", "aws-types", "bytes", - "http", + "http 0.2.9", "http-body", "once_cell", "percent-encoding", @@ -562,7 +575,7 @@ dependencies = [ "form_urlencoded", "hex", "hmac", - "http", + "http 0.2.9", "once_cell", "percent-encoding", "regex", @@ -595,7 +608,7 @@ dependencies = [ "crc32c", "crc32fast", "hex", - "http", + "http 0.2.9", "http-body", "md-5", "pin-project-lite", @@ -616,7 +629,7 @@ dependencies = [ "aws-smithy-types", "bytes", "fastrand 2.0.0", - "http", + "http 0.2.9", "http-body", "hyper", "hyper-rustls", @@ -650,7 +663,7 @@ dependencies = [ "bytes", "bytes-utils", "futures-core", - "http", + "http 0.2.9", "http-body", "hyper", "once_cell", @@ -671,7 +684,7 @@ dependencies = [ "aws-smithy-http", "aws-smithy-types", "bytes", - "http", + "http 0.2.9", "http-body", "pin-project-lite", "tower", @@ -700,7 +713,7 @@ dependencies = [ "aws-smithy-types", "bytes", "fastrand 2.0.0", - "http", + "http 0.2.9", "http-body", "once_cell", "pin-project-lite", @@ -719,7 +732,7 @@ dependencies = [ "aws-smithy-http", "aws-smithy-types", "bytes", - "http", + "http 0.2.9", "tokio", "tracing", ] @@ -758,7 +771,7 @@ dependencies = [ "aws-smithy-client", "aws-smithy-http", "aws-smithy-types", - "http", + "http 0.2.9", "rustc_version", "tracing", ] @@ -777,7 +790,7 @@ dependencies = [ "bytes", "futures-util", "headers", - "http", + "http 0.2.9", "http-body", "hyper", "itoa", @@ -809,7 +822,7 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http", + "http 0.2.9", "http-body", "mime", "rustversion", @@ -1007,7 +1020,7 @@ name = "chimp_controller" version = "0.1.0" dependencies = [ "anyhow", - "async-tungstenite", + "async-tungstenite 0.22.2", "chimp_protocol", "clap 4.4.12", "cynic", @@ -1765,11 +1778,11 @@ dependencies = [ [[package]] name = "graphql-ws-client" -version = "0.5.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d6c77c2de260d565a53df302f27412930a961de7cbecfdfa18e61fe0c59604" +checksum = "400c558067af87ebd3007b19c5b896ed6a4ff5312ea5a2db502814d309522e92" dependencies = [ - "async-tungstenite", + "async-tungstenite 0.24.0", "cynic", "futures", "log", @@ -1814,7 +1827,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.9", "indexmap 1.9.3", "slab", "tokio", @@ -1870,7 +1883,7 @@ dependencies = [ "base64 0.21.4", "bytes", "headers-core", - "http", + "http 0.2.9", "httpdate", "mime", "sha1", @@ -1882,7 +1895,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" dependencies = [ - "http", + "http 0.2.9", ] [[package]] @@ -1944,6 +1957,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b32afd38673a8016f7c9ae69e5af41a58f81b1d31689040f2f1959594ce194ea" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.5" @@ -1951,7 +1975,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.9", "pin-project-lite", ] @@ -1978,7 +2002,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.9", "http-body", "httparse", "httpdate", @@ -1998,7 +2022,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97" dependencies = [ "futures-util", - "http", + "http 0.2.9", "hyper", "log", "rustls 0.21.7", @@ -2376,7 +2400,7 @@ dependencies = [ "bytes", "encoding_rs", "futures-util", - "http", + "http 0.2.9", "httparse", "log", "memchr", @@ -3145,7 +3169,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.9", "http-body", "hyper", "hyper-tls", @@ -4294,7 +4318,7 @@ dependencies = [ "byteorder", "bytes", "data-encoding", - "http", + "http 0.2.9", "httparse", "log", "rand", @@ -4313,7 +4337,26 @@ dependencies = [ "byteorder", "bytes", "data-encoding", - "http", + "http 0.2.9", + "httparse", + "log", + "rand", + "sha1", + "thiserror", + "url", + "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.0.0", "httparse", "log", "rand", diff --git a/backend/chimp_controller/Cargo.toml b/backend/chimp_controller/Cargo.toml index c009d8ab..1df154c4 100644 --- a/backend/chimp_controller/Cargo.toml +++ b/backend/chimp_controller/Cargo.toml @@ -11,7 +11,7 @@ clap = { workspace = true } cynic = { version = "3.3.0", features = ["http-reqwest"] } dotenvy = { workspace = true } futures-util = { version = "0.3.30" } -graphql-ws-client = { version = "0.5.0", features = ["cynic"] } +graphql-ws-client = { version = "0.7.0", features = ["cynic"] } lapin = { version = "2.2.1", default-features = false, features = ["rustls"] } reqwest = { version = "0.11.23" } tokio = { workspace = true, features = ["sync"] }