From 56e7dc2a35660984e16e1b59c325155483b86699 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 01:05:12 +0000 Subject: [PATCH] Update Rust crate serde_json to v1.0.137 --- Cargo.lock | 60 ++++++++++++++++++++++++++++++++++++++---------------- Cargo.toml | 6 +++--- 2 files changed, 46 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f5630be..f9c0c93 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -121,13 +121,13 @@ dependencies = [ [[package]] name = "axum" -version = "0.8.1" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d6fd624c75e18b3b4c6b9caf42b1afe24437daaee904069137d8bab077be8b8" +checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" dependencies = [ + "async-trait", "axum-core", "bytes", - "form_urlencoded", "futures-util", "http", "http-body", @@ -155,10 +155,11 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.5.0" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df1362f362fd16024ae199c1970ce98f9661bf5ef94b9808fee734bc3698b733" +checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199" dependencies = [ + "async-trait", "bytes", "futures-util", "http", @@ -218,7 +219,7 @@ dependencies = [ "bitflags", "cexpr", "clang-sys", - "itertools", + "itertools 0.12.1", "lazy_static", "lazycell", "log", @@ -274,7 +275,7 @@ dependencies = [ "lru", "metrics", "metrics-exporter-prometheus", - "metrics-util", + "metrics-util 0.18.0", "redis", "reqwest", "serde", @@ -1206,6 +1207,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.14" @@ -1339,9 +1349,9 @@ dependencies = [ [[package]] name = "matchit" -version = "0.8.4" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" +checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" [[package]] name = "md-5" @@ -1383,7 +1393,7 @@ dependencies = [ "indexmap", "ipnet", "metrics", - "metrics-util", + "metrics-util 0.19.0", "quanta", "thiserror 1.0.69", "tokio", @@ -1392,9 +1402,9 @@ dependencies = [ [[package]] name = "metrics-util" -version = "0.19.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbd4884b1dd24f7d6628274a2f5ae22465c337c5ba065ec9b6edccddf8acc673" +checksum = "15b482df36c13dd1869d73d14d28cd4855fbd6cfc32294bee109908a9f4a4ed7" dependencies = [ "aho-corasick", "crossbeam-epoch", @@ -1405,6 +1415,20 @@ dependencies = [ "ordered-float", "quanta", "radix_trie", + "sketches-ddsketch", +] + +[[package]] +name = "metrics-util" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbd4884b1dd24f7d6628274a2f5ae22465c337c5ba065ec9b6edccddf8acc673" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", + "hashbrown", + "metrics", + "quanta", "rand", "rand_xoshiro", "sketches-ddsketch", @@ -1876,16 +1900,18 @@ dependencies = [ [[package]] name = "redis" -version = "0.28.1" +version = "0.27.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f89727cba9cec05cc579942321ff6dd09fe57a8b3217f52f952301efa010da5" +checksum = "09d8f99a4090c89cc489a94833c901ead69bfbf3877b4867d5482e321ee875bc" dependencies = [ "arc-swap", + "async-trait", "backon", "bytes", "combine", - "futures-channel", + "futures", "futures-util", + "itertools 0.13.0", "itoa", "num-bigint", "percent-encoding", @@ -2201,9 +2227,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.135" +version = "1.0.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b0d7ba2887406110130a978386c4e1befb98c674b4fba677954e4db976630d9" +checksum = "930cfb6e6abf99298aaad7d29abbef7a9999a9a8806a40088f55f0dcec03146b" dependencies = [ "itoa", "memchr", diff --git a/Cargo.toml b/Cargo.toml index 677457d..7bd5d60 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ repository = "https://github.com/astro/buzzrelay" homepage = "https://relay.fedi.buzz" [dependencies] -axum = "0.8" +axum = "0.7" tower-http = { version = "0.6", features = ["fs"] } tokio = { version = "1", features = ["full", "time"] } tracing = "*" @@ -25,10 +25,10 @@ futures = "0.3" tokio-postgres = "0.7" systemd = "0.10" metrics = "0.24" -metrics-util = "0.19" +metrics-util = "0.18" metrics-exporter-prometheus = "0.16" deunicode = "1.4" urlencoding = "2" httpdate = "1" -redis = { version = "0.28", features = ["tokio-comp", "connection-manager"] } +redis = { version = "0.27", features = ["tokio-comp", "connection-manager"] } lru = "0.12"