From 65b905b33c224a52b01a804cbb037efaa67c2c21 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 12:38:46 +0000 Subject: [PATCH] fix(deps): update rust crate http-cache-reqwest to 0.15.0 --- Cargo.lock | 79 ++++++++++++++++++++++++++-------- Cargo.toml | 2 +- tailcall-http-cache/Cargo.toml | 2 +- 3 files changed, 62 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8b67c12bf9..a4c712a3a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -642,7 +642,7 @@ dependencies = [ "bitflags 2.6.0", "cexpr", "clang-sys", - "itertools 0.10.5", + "itertools 0.11.0", "lazy_static", "lazycell", "log", @@ -2291,7 +2291,22 @@ dependencies = [ "bincode", "cacache 12.0.0", "http 0.2.12", - "http-cache-semantics", + "http-cache-semantics 1.0.2", + "httpdate", + "serde", + "url", +] + +[[package]] +name = "http-cache" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33b65cd1687caf2c7fff496741a2f264c26f54e6d6cec03dac8f276fa4e5430e" +dependencies = [ + "async-trait", + "bincode", + "http 1.1.0", + "http-cache-semantics 2.1.0", "httpdate", "moka", "serde", @@ -2300,19 +2315,18 @@ dependencies = [ [[package]] name = "http-cache-reqwest" -version = "0.13.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8285341ce7e709c56a0f259ff1c789c70edfbaa88acd69d27e4d63980b92dc" +checksum = "735586904a5ce0c13877c57cb4eb8195eb7c11ec1ffd64d4db053fb8559ca62e" dependencies = [ "anyhow", "async-trait", - "http 0.2.12", - "http-cache", - "http-cache-semantics", - "reqwest 0.11.27", - "reqwest-middleware", + "http 1.1.0", + "http-cache 0.20.0", + "http-cache-semantics 2.1.0", + "reqwest 0.12.9", + "reqwest-middleware 0.4.0", "serde", - "task-local-extensions", "url", ] @@ -2329,6 +2343,18 @@ dependencies = [ "time", ] +[[package]] +name = "http-cache-semantics" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92baf25cf0b8c9246baecf3a444546360a97b569168fdf92563ee6a47829920c" +dependencies = [ + "http 1.1.0", + "http-serde 2.1.1", + "serde", + "time", +] + [[package]] name = "http-serde" version = "1.1.3" @@ -2999,7 +3025,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" dependencies = [ "cfg-if", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] @@ -4151,7 +4177,7 @@ checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" dependencies = [ "bytes", "heck", - "itertools 0.10.5", + "itertools 0.11.0", "log", "multimap", "once_cell", @@ -4171,7 +4197,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" dependencies = [ "anyhow", - "itertools 0.10.5", + "itertools 0.11.0", "proc-macro2", "quote", "syn 2.0.90", @@ -4184,7 +4210,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "157c5a9d7ea5c2ed2d9fb8f495b64759f7816c7eaea54ba3978f0d63000162e3" dependencies = [ "anyhow", - "itertools 0.10.5", + "itertools 0.11.0", "proc-macro2", "quote", "syn 2.0.90", @@ -4761,6 +4787,21 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "reqwest-middleware" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1ccd3b55e711f91a9885a2fa6fbbb2e39db1776420b062efc058c6410f7e5e3" +dependencies = [ + "anyhow", + "async-trait", + "http 1.1.0", + "reqwest 0.12.9", + "serde", + "thiserror 1.0.69", + "tower-service", +] + [[package]] name = "resource" version = "0.5.0" @@ -5634,7 +5675,7 @@ dependencies = [ "htpasswd-verify", "http 0.2.12", "http-cache-reqwest", - "http-cache-semantics", + "http-cache-semantics 1.0.2", "httpmock", "hyper 0.14.32", "hyper-rustls 0.25.0", @@ -5676,7 +5717,7 @@ dependencies = [ "rand", "regex", "reqwest 0.11.27", - "reqwest-middleware", + "reqwest-middleware 0.2.5", "resource", "rquickjs", "rustls 0.23.21", @@ -5791,9 +5832,9 @@ version = "0.1.0" dependencies = [ "async-trait", "http 0.2.12", - "http-cache", + "http-cache 0.18.0", "http-cache-reqwest", - "http-cache-semantics", + "http-cache-semantics 1.0.2", "moka", "reqwest 0.11.27", "serde", @@ -6909,7 +6950,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 9ee5d9b070..60c519478b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ tailcall-valid = "0.1.1" # 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.15.0", features = [ "manager-moka", ], default-features = false, optional = true } moka = { version = "0.12.7", default-features = false, features = [ diff --git a/tailcall-http-cache/Cargo.toml b/tailcall-http-cache/Cargo.toml index 7427caa3bc..658de56ac3 100644 --- a/tailcall-http-cache/Cargo.toml +++ b/tailcall-http-cache/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies] -http-cache-reqwest = { version = "0.13.0", default-features = false, features = ["manager-moka"] } +http-cache-reqwest = { version = "0.15.0", default-features = false, features = ["manager-moka"] } moka = { version = "0.12.7", default-features = false, features = [ "future", ]}