From 0096d718ca4bf99f83128f30b9ecac407cc6a8a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:24:49 +0000 Subject: [PATCH] Bump hyper from 0.14.27 to 1.2.0 Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.27 to 1.2.0. - [Release notes](https://github.com/hyperium/hyper/releases) - [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/hyper/compare/v0.14.27...v1.2.0) --- updated-dependencies: - dependency-name: hyper dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 97 +++++++++++++++++++++++++---------------- apps/api/Cargo.toml | 4 +- libs/auth/Cargo.toml | 2 +- libs/domains/Cargo.toml | 2 +- libs/testing/Cargo.toml | 2 +- libs/utils/Cargo.toml | 2 +- 6 files changed, 66 insertions(+), 43 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index de7f349..c05982d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -128,7 +128,7 @@ dependencies = [ "futures-timer", "futures-util", "handlebars", - "http", + "http 0.2.9", "indexmap", "lru", "mime", @@ -280,9 +280,9 @@ dependencies = [ "bytes", "futures-util", "headers", - "http", - "http-body", - "hyper", + "http 0.2.9", + "http-body 0.4.5", + "hyper 0.14.28", "itoa", "matchit", "memchr", @@ -312,8 +312,8 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http", - "http-body", + "http 0.2.9", + "http-body 0.4.5", "mime", "rustversion", "tower-layer", @@ -452,7 +452,7 @@ dependencies = [ "fake", "futures", "futures-util", - "hyper", + "hyper 1.2.0", "hyper-tls", "log", "mockall", @@ -485,8 +485,8 @@ dependencies = [ "biscuit", "caster-utils", "fake", - "http", - "hyper", + "http 0.2.9", + "hyper 1.2.0", "hyper-tls", "jsonwebtoken", "log", @@ -512,7 +512,7 @@ dependencies = [ "caster-utils", "chrono", "fake", - "hyper", + "hyper 1.2.0", "maplit", "mockall", "oso", @@ -533,7 +533,7 @@ version = "0.1.0" dependencies = [ "anyhow", "caster-utils", - "hyper", + "hyper 1.2.0", "hyper-tls", "mockall", "oso", @@ -553,7 +553,7 @@ dependencies = [ "async-trait", "fake", "figment", - "hyper", + "hyper 1.2.0", "hyper-tls", "once_cell", "rand", @@ -891,7 +891,7 @@ dependencies = [ "chrono", "deunicode", "dummy", - "http", + "http 0.2.9", "rand", "url-escape", "uuid", @@ -1178,7 +1178,7 @@ dependencies = [ "base64 0.21.5", "bytes", "headers-core", - "http", + "http 0.2.9", "httpdate", "mime", "sha1", @@ -1190,7 +1190,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" dependencies = [ - "http", + "http 0.2.9", ] [[package]] @@ -1252,6 +1252,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" @@ -1259,10 +1270,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.9", "pin-project-lite", ] +[[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 = "http-range-header" version = "0.3.1" @@ -1283,27 +1304,39 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "hyper" -version = "0.14.27" +version = "0.14.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" +checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" dependencies = [ "bytes", "futures-channel", "futures-core", "futures-util", - "http", - "http-body", + "http 0.2.9", + "http-body 0.4.5", "httparse", "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.10", + "socket2", "tokio", "tower-service", "tracing", "want", ] +[[package]] +name = "hyper" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "186548d73ac615b32a73aafe38fb4f56c0d340e110e5a200bcadbaf2e199263a" +dependencies = [ + "bytes", + "http 1.0.0", + "http-body 1.0.0", + "tokio", +] + [[package]] name = "hyper-tls" version = "0.5.0" @@ -1311,7 +1344,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", - "hyper", + "hyper 0.14.28", "native-tls", "tokio", "tokio-native-tls", @@ -1666,7 +1699,7 @@ dependencies = [ "bytes", "encoding_rs", "futures-util", - "http", + "http 0.2.9", "httparse", "log", "memchr", @@ -2748,16 +2781,6 @@ version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" -[[package]] -name = "socket2" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" -dependencies = [ - "libc", - "winapi", -] - [[package]] name = "socket2" version = "0.5.5" @@ -3242,7 +3265,7 @@ dependencies = [ "parking_lot", "pin-project-lite", "signal-hook-registry", - "socket2 0.5.5", + "socket2", "tokio-macros", "windows-sys", ] @@ -3376,8 +3399,8 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "http", - "http-body", + "http 0.2.9", + "http-body 0.4.5", "http-range-header", "pin-project-lite", "tower-layer", @@ -3474,7 +3497,7 @@ dependencies = [ "byteorder", "bytes", "data-encoding", - "http", + "http 0.2.9", "httparse", "log", "rand", diff --git a/apps/api/Cargo.toml b/apps/api/Cargo.toml index 7c77b6d..17ec01a 100644 --- a/apps/api/Cargo.toml +++ b/apps/api/Cargo.toml @@ -20,7 +20,7 @@ futures-util = { version = "0.3", default-features = false, features = [ "sink", "std", ] } -hyper = "0.14" +hyper = "1.2" hyper-tls = "0.5" log = "0.4" once_cell = "1.9" @@ -56,7 +56,7 @@ ulid = "1.0" [dev-dependencies] caster-testing = { path = "../../libs/testing" } -hyper = "0.14" +hyper = "1.2" hyper-tls = "0.5" mockall = "0.11" pretty_assertions = { version = "1.2" } diff --git a/libs/auth/Cargo.toml b/libs/auth/Cargo.toml index 3eca3f3..36f95c5 100644 --- a/libs/auth/Cargo.toml +++ b/libs/auth/Cargo.toml @@ -14,7 +14,7 @@ axum = "0.6" biscuit = "0.6.0-beta1" caster-utils = { path = "../../libs/utils" } http = "0.2" -hyper = "0.14" +hyper = "1.2" hyper-tls = "0.5" jsonwebtoken = "9.1" log = "0.4" diff --git a/libs/domains/Cargo.toml b/libs/domains/Cargo.toml index 8c37630..4096ce9 100644 --- a/libs/domains/Cargo.toml +++ b/libs/domains/Cargo.toml @@ -13,7 +13,7 @@ caster-utils = { path = "../utils" } caster-testing = { path = "../testing" } chrono = { version = "0.4.19", features = ["serde"] } fake = { version = "2.4", features = ['derive', 'chrono', 'http', 'uuid'] } -hyper = "0.14" +hyper = "1.2" oso = "0.27.0" oso-derive = "0.27.0" rand = "0.8" diff --git a/libs/testing/Cargo.toml b/libs/testing/Cargo.toml index b6cb6c0..29cf44b 100644 --- a/libs/testing/Cargo.toml +++ b/libs/testing/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] anyhow = "1.0" -hyper = "0.14" +hyper = "1.2" hyper-tls = "0.5" mockall = "0.11" oso = "0.27.0" diff --git a/libs/utils/Cargo.toml b/libs/utils/Cargo.toml index b778e6c..113253b 100644 --- a/libs/utils/Cargo.toml +++ b/libs/utils/Cargo.toml @@ -15,7 +15,7 @@ sea-orm = { version = "0.12", features = [ ], default-features = false } fake = { version = "2.4", features = ['derive', 'chrono', 'http', 'uuid'] } figment = { version = "0.10.6", features = ["env", "toml"] } -hyper = "0.14" +hyper = "1.2" hyper-tls = "0.5" once_cell = "1.9" rand = "0.8"