diff --git a/bors/Cargo.lock b/bors/Cargo.lock index 3cc57d177..d6fd32d84 100644 --- a/bors/Cargo.lock +++ b/bors/Cargo.lock @@ -1173,6 +1173,7 @@ dependencies = [ "hartex_backend_models_v2", "hartex_bors_core", "hartex_log", + "http-body 1.0.0", "hyper 1.0.1", "hyper-util", "miette", diff --git a/bors/hartex-bors-permissions/Cargo.toml b/bors/hartex-bors-permissions/Cargo.toml index bd981213d..303ef6573 100644 --- a/bors/hartex-bors-permissions/Cargo.toml +++ b/bors/hartex-bors-permissions/Cargo.toml @@ -18,6 +18,7 @@ hartex_bors_core = { path = "../hartex-bors-core" } hartex_log = { path = "../../rust-utilities/hartex-log" } +http-body = "1.0.0" hyper = { version = "1.0.1", features = ["client", "http2"] } hyper-util = { version = "0.1.1", features = ["client-legacy", "http2", "tokio"] } miette = "5.10.0" diff --git a/bors/hartex-bors-permissions/src/permissions.rs b/bors/hartex-bors-permissions/src/permissions.rs index 575d6fc5e..1b917937d 100644 --- a/bors/hartex-bors-permissions/src/permissions.rs +++ b/bors/hartex-bors-permissions/src/permissions.rs @@ -28,7 +28,7 @@ use hartex_backend_models::Response; use hartex_backend_models_v2::bors::RepositoryPermissionsResponse; use hartex_bors_core::models::GithubRepositoryName; use hartex_log::log; -use hyper::body::Body; +use http_body::Body; use hyper::header::ACCEPT; use hyper::Method; use hyper::Request; diff --git a/discord-frontend/Cargo.lock b/discord-frontend/Cargo.lock index 9acf2c41d..e8bded06d 100644 --- a/discord-frontend/Cargo.lock +++ b/discord-frontend/Cargo.lock @@ -980,6 +980,7 @@ dependencies = [ "hartex_discord_utils", "hartex_localization_core", "hartex_log", + "http-body 1.0.0", "hyper 1.0.1", "hyper-util", "miette", diff --git a/discord-frontend/hartex-discord-commands/Cargo.toml b/discord-frontend/hartex-discord-commands/Cargo.toml index 1db0853be..d343a4ab8 100644 --- a/discord-frontend/hartex-discord-commands/Cargo.toml +++ b/discord-frontend/hartex-discord-commands/Cargo.toml @@ -27,6 +27,7 @@ hartex_discord_utils = { path = "../../rust-utilities/hartex-discord-utils" } fluent-bundle = "0.15.2" futures = "0.3.29" +http-body = "1.0.0" hyper = { version = "1.0.1", features = ["client", "http2"] } hyper-util = { version = "0.1.1", features = ["client-legacy", "http2", "tokio"] } miette = "5.10.0" diff --git a/discord-frontend/hartex-discord-commands/src/utilities/info/info_bot.rs b/discord-frontend/hartex-discord-commands/src/utilities/info/info_bot.rs index 0228844ef..a36aadc79 100644 --- a/discord-frontend/hartex-discord-commands/src/utilities/info/info_bot.rs +++ b/discord-frontend/hartex-discord-commands/src/utilities/info/info_bot.rs @@ -39,7 +39,7 @@ use hartex_discord_utils::CLIENT; use hartex_localization_core::LOCALIZATION_HOLDER; use hartex_localization_core::Localizer; use hartex_log::log; -use hyper::body::Body; +use http_body::Body; use hyper::header::ACCEPT; use hyper::header::USER_AGENT; use hyper::Method;