From d0c577cf78d28348432c142546caf529999ea42a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 18 Mar 2025 01:24:26 +0000 Subject: [PATCH] Update Rust crate http to v1 --- Cargo.lock | 55 ++++++++++++++++++++++-------------------------------- Cargo.toml | 2 +- 2 files changed, 23 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2a00a859e..b6a6619b8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -979,7 +979,7 @@ dependencies = [ "dropshot 0.16.0", "expectorate", "futures", - "http 0.2.12", + "http", "hyper", "omicron-common", "openapi-lint", @@ -1084,7 +1084,7 @@ dependencies = [ "futures", "futures-core", "hex", - "http 0.2.12", + "http", "hyper", "hyper-staticfile", "itertools 0.14.0", @@ -1232,7 +1232,7 @@ dependencies = [ "expectorate", "futures", "hex", - "http 0.2.12", + "http", "hyper", "omicron-common", "openapi-lint", @@ -1658,7 +1658,7 @@ dependencies = [ "anyhow", "chrono", "expectorate", - "http 1.2.0", + "http", "omicron-workspace-hack", "progenitor 0.8.0", "reqwest", @@ -1698,7 +1698,7 @@ dependencies = [ "form_urlencoded", "futures", "hostname 0.4.0", - "http 1.2.0", + "http", "http-body-util", "hyper", "hyper-util", @@ -1747,7 +1747,7 @@ dependencies = [ "form_urlencoded", "futures", "hostname 0.4.0", - "http 1.2.0", + "http", "http-body-util", "hyper", "hyper-util", @@ -2290,7 +2290,7 @@ dependencies = [ "fnv", "futures-core", "futures-sink", - "http 1.2.0", + "http", "indexmap 2.7.1", "slab", "tokio", @@ -2465,20 +2465,9 @@ dependencies = [ [[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" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" dependencies = [ "bytes", "fnv", @@ -2492,7 +2481,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", - "http 1.2.0", + "http", ] [[package]] @@ -2503,7 +2492,7 @@ checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" dependencies = [ "bytes", "futures-util", - "http 1.2.0", + "http", "http-body", "pin-project-lite", ] @@ -2537,7 +2526,7 @@ dependencies = [ "crossbeam-channel", "form_urlencoded", "futures", - "http 1.2.0", + "http", "http-body-util", "hyper", "hyper-util", @@ -2593,7 +2582,7 @@ dependencies = [ "futures-channel", "futures-util", "h2", - "http 1.2.0", + "http", "http-body", "httparse", "httpdate", @@ -2611,7 +2600,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", @@ -2629,7 +2618,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", @@ -2666,7 +2655,7 @@ dependencies = [ "bytes", "futures-channel", "futures-util", - "http 1.2.0", + "http", "http-body", "hyper", "pin-project-lite", @@ -3231,7 +3220,7 @@ dependencies = [ "bytes", "encoding_rs", "futures-util", - "http 1.2.0", + "http", "httparse", "memchr", "mime", @@ -3357,7 +3346,7 @@ dependencies = [ "dropshot 0.12.0", "futures", "gateway-client", - "http 1.2.0", + "http", "humantime", "ipnetwork", "newtype-uuid", @@ -3656,7 +3645,7 @@ dependencies = [ "dropshot 0.12.0", "futures", "hex", - "http 1.2.0", + "http", "ipnetwork", "macaddr", "mg-admin-client", @@ -4501,7 +4490,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.1", "openapiv3", "proc-macro2", @@ -4523,7 +4512,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.1", "openapiv3", "proc-macro2", @@ -5000,7 +4989,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 b525d3d01..84fdc87b7 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.3.1" httptest = "0.16.3" human_bytes = "0.4.3" humantime = "2.1.0"