diff --git a/Cargo.lock b/Cargo.lock index 20cfcf6c3..c2b6fc133 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1455,7 +1455,7 @@ dependencies = [ "exocore", "exomind-protos", "google-gmail1", - "hyper", + "hyper 1.1.0", "hyper-rustls", "log", "mailparse", @@ -1727,8 +1727,8 @@ checksum = "87ee789438087de4e6aa14e8505f661d4f45b161f2d21807c1fee0d68b54732d" dependencies = [ "base64 0.13.1", "chrono", - "http", - "hyper", + "http 0.2.11", + "hyper 0.14.28", "itertools", "mime", "serde", @@ -1748,8 +1748,8 @@ checksum = "36f614d84a62ccfa21dcb2c97036668b30fc7caa4404aaf6337b8c51dee45bd3" dependencies = [ "anyhow", "google-apis-common", - "http", - "hyper", + "http 0.2.11", + "hyper 0.14.28", "hyper-rustls", "itertools", "mime", @@ -1782,7 +1782,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.11", "indexmap 2.1.0", "slab", "tokio", @@ -1927,6 +1927,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.6" @@ -1934,10 +1945,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http", + "http 0.2.11", "pin-project-lite 0.2.13", ] +[[package]] +name = "http-body" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" +dependencies = [ + "bytes", + "http 1.0.0", +] + [[package]] name = "httparse" version = "1.8.0" @@ -1967,8 +1988,8 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "httparse", "httpdate", "itoa", @@ -1980,6 +2001,19 @@ dependencies = [ "want", ] +[[package]] +name = "hyper" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb5aa53871fc917b1a9ed87b683a5d86db645e23acb32c2e0785a353e522fb75" +dependencies = [ + "bytes", + "http 1.0.0", + "http-body 1.0.0", + "pin-project-lite 0.2.13", + "tokio", +] + [[package]] name = "hyper-rustls" version = "0.24.2" @@ -1987,8 +2021,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http", - "hyper", + "http 0.2.11", + "hyper 0.14.28", "log", "rustls 0.21.8", "rustls-native-certs", @@ -5549,8 +5583,8 @@ dependencies = [ "async-trait", "base64 0.13.1", "futures", - "http", - "hyper", + "http 0.2.11", + "hyper 0.14.28", "hyper-rustls", "itertools", "log", diff --git a/integrations/gmail/Cargo.toml b/integrations/gmail/Cargo.toml index 2a1682985..51e6f8a88 100644 --- a/integrations/gmail/Cargo.toml +++ b/integrations/gmail/Cargo.toml @@ -18,7 +18,7 @@ duration-string = { version = "0.3.0", features = ["serde"] } exocore = { version = "0.1.25", default-features = false, features = ["client", "logger"] } exomind-protos = {version = "0.1.15", path = "../../protos"} google-gmail1 = "5.0.3" -hyper = "0.14.28" +hyper = "1.1.0" hyper-rustls = {version="0.24.2", features=["http2"]} log = "0.4.20" mailparse = "0.14.0"