diff --git a/Cargo.lock b/Cargo.lock index 37c9cc534..30c355d26 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -471,7 +471,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f77d243921b0979fbbd728dd2d5162e68ac8252976797c24eb5b3a6af9090dc" dependencies = [ "flate2", - "http", + "http 0.2.11", "log", "rustls", "url", @@ -518,7 +518,7 @@ dependencies = [ "aws-smithy-types", "aws-types", "bytes", - "http", + "http 0.2.11", "http-body", "pin-project-lite", "tracing", @@ -540,7 +540,7 @@ dependencies = [ "aws-smithy-types", "aws-types", "fastrand 2.0.1", - "http", + "http 0.2.11", "percent-encoding", "tracing", "uuid 1.5.0", @@ -567,7 +567,7 @@ dependencies = [ "aws-smithy-xml", "aws-types", "bytes", - "http", + "http 0.2.11", "http-body", "once_cell", "percent-encoding", @@ -590,7 +590,7 @@ dependencies = [ "form_urlencoded", "hex", "hmac", - "http", + "http 0.2.11", "num-bigint", "once_cell", "p256", @@ -626,7 +626,7 @@ dependencies = [ "crc32c", "crc32fast", "hex", - "http", + "http 0.2.11", "http-body", "md-5", "pin-project-lite", @@ -658,7 +658,7 @@ dependencies = [ "bytes", "bytes-utils", "futures-core", - "http", + "http 0.2.11", "http-body", "once_cell", "percent-encoding", @@ -688,7 +688,7 @@ dependencies = [ "aws-smithy-types", "bytes", "fastrand 2.0.1", - "http", + "http 0.2.11", "http-body", "hyper", "hyper-rustls", @@ -709,7 +709,7 @@ dependencies = [ "aws-smithy-async", "aws-smithy-types", "bytes", - "http", + "http 0.2.11", "pin-project-lite", "tokio", "tracing", @@ -725,7 +725,7 @@ dependencies = [ "bytes", "bytes-utils", "futures-core", - "http", + "http 0.2.11", "http-body", "itoa", "num-integer", @@ -757,7 +757,7 @@ dependencies = [ "aws-smithy-async", "aws-smithy-runtime-api", "aws-smithy-types", - "http", + "http 0.2.11", "rustc_version", "tracing", ] @@ -871,7 +871,7 @@ dependencies = [ "diesel", "diesel_migrations", "dropshot", - "http", + "http 1.0.0", "hyper", "jsonwebtoken", "literally", @@ -1977,7 +1977,7 @@ dependencies = [ "form_urlencoded", "futures", "hostname", - "http", + "http 0.2.11", "hyper", "indexmap 2.1.0", "multer", @@ -2635,7 +2635,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.11", "indexmap 2.1.0", "slab", "tokio", @@ -2805,6 +2805,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" @@ -2812,7 +2823,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.11", "pin-project-lite", ] @@ -2832,7 +2843,7 @@ dependencies = [ "async-channel 1.9.0", "base64 0.13.1", "futures-lite 1.13.0", - "http", + "http 0.2.11", "infer", "pin-project-lite", "rand 0.7.3", @@ -2866,7 +2877,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.11", "http-body", "httparse", "httpdate", @@ -2886,7 +2897,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http", + "http 0.2.11", "hyper", "log", "rustls", @@ -3528,7 +3539,7 @@ dependencies = [ "bytes", "encoding_rs", "futures-util", - "http", + "http 0.2.11", "httparse", "log", "memchr", @@ -3754,7 +3765,7 @@ dependencies = [ "either", "futures", "futures-util", - "http", + "http 0.2.11", "http-body", "hyper", "hyper-rustls", @@ -4450,7 +4461,7 @@ source = "git+https://github.com/oxidecomputer/progenitor?rev=a6bc0624803b948398 dependencies = [ "getopts", "heck", - "http", + "http 0.2.11", "indexmap 2.1.0", "openapiv3", "proc-macro2", @@ -4752,7 +4763,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.11", "http-body", "hyper", "hyper-rustls", @@ -6172,7 +6183,7 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "http", + "http 0.2.11", "http-body", "http-range-header", "iri-string", diff --git a/services/api/Cargo.toml b/services/api/Cargo.toml index 1f556c1a2..ed5b84667 100644 --- a/services/api/Cargo.toml +++ b/services/api/Cargo.toml @@ -56,7 +56,7 @@ aws-sdk-s3 = "0.35" css-inline = "0.11" diesel_migrations = "2.1" hyper = "0.14" -http = "0.2" +http = "1.0" mail-send = "0.4" paste = "1.0" sentry = { version = "0.31", optional = true }