From 008b9b7890522309c5657fa001c5655325f06c1f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 15 Jan 2025 05:03:03 +0000 Subject: [PATCH] Update Rust crate http to v1 --- Cargo.lock | 49 +++++++++++++++++++------------------------------ Cargo.toml | 2 +- 2 files changed, 20 insertions(+), 31 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cce38ec7a..63a134970 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -978,7 +978,7 @@ dependencies = [ "dropshot", "expectorate", "futures", - "http 0.2.12", + "http", "hyper", "omicron-common", "openapi-lint", @@ -1083,7 +1083,7 @@ dependencies = [ "futures", "futures-core", "hex", - "http 0.2.12", + "http", "hyper", "hyper-staticfile", "itertools 0.13.0", @@ -1228,7 +1228,7 @@ dependencies = [ "expectorate", "futures", "hex", - "http 0.2.12", + "http", "hyper", "omicron-common", "openapi-lint", @@ -1672,7 +1672,7 @@ dependencies = [ "anyhow", "chrono", "expectorate", - "http 1.2.0", + "http", "omicron-workspace-hack", "progenitor 0.8.0", "reqwest", @@ -1712,7 +1712,7 @@ dependencies = [ "form_urlencoded", "futures", "hostname 0.4.0", - "http 1.2.0", + "http", "http-body-util", "hyper", "hyper-util", @@ -2213,7 +2213,7 @@ dependencies = [ "fnv", "futures-core", "futures-sink", - "http 1.2.0", + "http", "indexmap 2.7.0", "slab", "tokio", @@ -2392,17 +2392,6 @@ dependencies = [ "windows", ] -[[package]] -name = "http" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - [[package]] name = "http" version = "1.2.0" @@ -2421,7 +2410,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", - "http 1.2.0", + "http", ] [[package]] @@ -2432,7 +2421,7 @@ checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" dependencies = [ "bytes", "futures-util", - "http 1.2.0", + "http", "http-body", "pin-project-lite", ] @@ -2466,7 +2455,7 @@ dependencies = [ "crossbeam-channel", "form_urlencoded", "futures", - "http 1.2.0", + "http", "http-body-util", "hyper", "hyper-util", @@ -2522,7 +2511,7 @@ dependencies = [ "futures-channel", "futures-util", "h2", - "http 1.2.0", + "http", "http-body", "httparse", "httpdate", @@ -2540,7 +2529,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333" dependencies = [ "futures-util", - "http 1.2.0", + "http", "hyper", "hyper-util", "rustls 0.23.13", @@ -2558,7 +2547,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc4bce64c32578957926e75f832032f81ebb30bcee74f86c5848b13a69e547eb" dependencies = [ "futures-util", - "http 1.2.0", + "http", "http-range", "httpdate", "hyper", @@ -2595,7 +2584,7 @@ dependencies = [ "bytes", "futures-channel", "futures-util", - "http 1.2.0", + "http", "http-body", "hyper", "pin-project-lite", @@ -3151,7 +3140,7 @@ dependencies = [ "bytes", "encoding_rs", "futures-util", - "http 1.2.0", + "http", "httparse", "memchr", "mime", @@ -3277,7 +3266,7 @@ dependencies = [ "dropshot", "futures", "gateway-client", - "http 1.2.0", + "http", "humantime", "ipnetwork", "newtype-uuid", @@ -3587,7 +3576,7 @@ dependencies = [ "dropshot", "futures", "hex", - "http 1.2.0", + "http", "ipnetwork", "macaddr", "mg-admin-client", @@ -4432,7 +4421,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d85934a440963a69f9f04f48507ff6e7aa2952a5b2d8f96cc37fa3dd5c270f66" dependencies = [ "heck 0.5.0", - "http 1.2.0", + "http", "indexmap 2.7.0", "openapiv3", "proc-macro2", @@ -4454,7 +4443,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37adc80a94c9cae890e82deeeecc9d8f2a5cb153256caaf1bf0f03611e537214" dependencies = [ "heck 0.5.0", - "http 1.2.0", + "http", "indexmap 2.7.0", "openapiv3", "proc-macro2", @@ -4925,7 +4914,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http 1.2.0", + "http", "http-body", "http-body-util", "hyper", diff --git a/Cargo.toml b/Cargo.toml index 06169a21a..2722a8292 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,7 +51,7 @@ expectorate = "1.1.0" futures = "0.3" futures-core = "0.3" hex = "0.4" -http = "0.2.12" +http = "1.2.0" httptest = "0.16.1" human_bytes = "0.4.3" humantime = "2.1.0"