From 4c8525cf6400e509835fc06840e105e18bfab044 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 4 May 2024 22:19:46 +0000 Subject: [PATCH] fix(deps): update rust crate http-cache-reqwest to 0.14.0 --- Cargo.lock | 115 ++++++++++++++++++++++++++++++++++++++--------------- Cargo.toml | 2 +- 2 files changed, 83 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 861d4dcf38c..7f0349e05de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -315,7 +315,7 @@ dependencies = [ "protobuf 3.4.0", "protobuf-codegen", "protox", - "reqwest", + "reqwest 0.11.27", "serde", "serde-json-wasm", "serde_json", @@ -555,7 +555,7 @@ dependencies = [ "bytes", "http 1.1.0", "http-body 1.0.0", - "http-serde 2.1.0", + "http-serde", "query_map", "serde", "serde_json", @@ -2127,13 +2127,13 @@ dependencies = [ [[package]] name = "http-cache" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b5ab65432bbdfe8490dfde21d0366353a8d39f2bc24aca0146889f931b0b4b5" +checksum = "d6ffb12b95bb2a369fe47ca8924016c72c2fa0e6059ba98bd1516f558696c5a8" dependencies = [ "async-trait", "bincode", - "http 0.2.12", + "http 1.1.0", "http-cache-semantics", "httpdate", "moka", @@ -2143,44 +2143,33 @@ dependencies = [ [[package]] name = "http-cache-reqwest" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8285341ce7e709c56a0f259ff1c789c70edfbaa88acd69d27e4d63980b92dc" +checksum = "be3e27c4e2e510571cbcc601407b639667146aa9a4e818d5cc1d97c8b4b27d61" dependencies = [ "anyhow", "async-trait", - "http 0.2.12", + "http 1.1.0", "http-cache", "http-cache-semantics", - "reqwest", - "reqwest-middleware", + "reqwest 0.12.4", + "reqwest-middleware 0.3.0", "serde", - "task-local-extensions", "url", ] [[package]] name = "http-cache-semantics" -version = "1.0.2" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7aec9f678bca3f4a15194b980f20ed9bfe0dd38e8d298c65c559a93dfbd6380a" +checksum = "92baf25cf0b8c9246baecf3a444546360a97b569168fdf92563ee6a47829920c" dependencies = [ - "http 0.2.12", - "http-serde 1.1.3", + "http 1.1.0", + "http-serde", "serde", "time", ] -[[package]] -name = "http-serde" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f560b665ad9f1572cfcaf034f7fb84338a7ce945216d64a90fd81f046a3caee" -dependencies = [ - "http 0.2.12", - "serde", -] - [[package]] name = "http-serde" version = "2.1.0" @@ -2607,7 +2596,7 @@ dependencies = [ "http 1.1.0", "http-body 1.0.0", "http-body-util", - "http-serde 2.1.0", + "http-serde", "hyper 1.2.0", "hyper-util", "lambda_runtime_api_client", @@ -4201,7 +4190,42 @@ dependencies = [ "wasm-bindgen-futures", "web-sys", "webpki-roots", - "winreg", + "winreg 0.50.0", +] + +[[package]] +name = "reqwest" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "566cafdd92868e0939d3fb961bd0dc25fcfaaed179291093b3d43e6b3150ea10" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-core", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", + "hyper 1.2.0", + "hyper-util", + "ipnet", + "js-sys", + "log", + "mime", + "once_cell", + "percent-encoding", + "pin-project-lite", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "tokio", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "winreg 0.52.0", ] [[package]] @@ -4213,12 +4237,27 @@ dependencies = [ "anyhow", "async-trait", "http 0.2.12", - "reqwest", + "reqwest 0.11.27", "serde", "task-local-extensions", "thiserror", ] +[[package]] +name = "reqwest-middleware" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0209efb52486ad88136190094ee214759ef7507068b27992256ed6610eb71a01" +dependencies = [ + "anyhow", + "async-trait", + "http 1.1.0", + "reqwest 0.12.4", + "serde", + "thiserror", + "tower-service", +] + [[package]] name = "resource" version = "0.5.0" @@ -5078,8 +5117,8 @@ dependencies = [ "protox-parse", "rand", "regex", - "reqwest", - "reqwest-middleware", + "reqwest 0.11.27", + "reqwest-middleware 0.2.5", "resource", "rquickjs", "rustls 0.23.5", @@ -5137,7 +5176,7 @@ dependencies = [ "hyper 0.14.28", "lambda_http", "lambda_runtime", - "reqwest", + "reqwest 0.11.27", "tailcall", "tokio", "tracing", @@ -5156,7 +5195,7 @@ dependencies = [ "hyper 0.14.28", "lazy_static", "protox", - "reqwest", + "reqwest 0.11.27", "serde_json", "serde_qs", "tailcall", @@ -5867,7 +5906,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2f8811797a24ff123db3c6e1087aa42551d03d772b3724be421ad063da1f5f3f" dependencies = [ "directories", - "reqwest", + "reqwest 0.11.27", "semver", "serde", "serde_json", @@ -6283,6 +6322,16 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "winreg" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5" +dependencies = [ + "cfg-if", + "windows-sys 0.48.0", +] + [[package]] name = "winsafe" version = "0.0.19" diff --git a/Cargo.toml b/Cargo.toml index 3fcf38d8354..85f22c0f547 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ tokio = { version = "1.37.0", features = ["rt", "time"] } # one needs to add default feature tag if it is something IO related or might conflict with WASM mimalloc = { version = "0.1.41", default-features = false, optional = true } -http-cache-reqwest = { version = "0.13.0", features = [ +http-cache-reqwest = { version = "0.14.0", features = [ "manager-moka", ], default-features = false, optional = true } moka = { version = "0.12.7", default-features = false, features = [