From 3dc3ab062da437cc543243807718b24e18f750eb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 9 Apr 2025 17:37:15 -0600 Subject: [PATCH] Update Rust crate prometheus to 0.14 (#28468) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [prometheus](https://redirect.github.com/tikv/rust-prometheus) | dependencies | minor | `0.13` -> `0.14` | --- ### Release Notes
tikv/rust-prometheus (prometheus) ### [`v0.14.0`](https://redirect.github.com/tikv/rust-prometheus/blob/HEAD/CHANGELOG.md#0140) [Compare Source](https://redirect.github.com/tikv/rust-prometheus/compare/v0.13.4...v0.14.0) - API change: Use `AsRef` for owned label values ([#​537](https://redirect.github.com/tikv/rust-prometheus/issues/537)) - Improvement: Hashing improvements ([#​532](https://redirect.github.com/tikv/rust-prometheus/issues/532)) - Dependency upgrade: Update `hyper` to 1.6 ([#​524](https://redirect.github.com/tikv/rust-prometheus/issues/524)) - Dependency upgrade: Update `procfs` to 0.17 ([#​543](https://redirect.github.com/tikv/rust-prometheus/issues/543)) - Dependency upgrade: Update `protobuf` to 3.7.2 for RUSTSEC-2024-0437 ([#​541](https://redirect.github.com/tikv/rust-prometheus/issues/541)) - Dependency upgrade: Update `thiserror` to 2.0 ([#​534](https://redirect.github.com/tikv/rust-prometheus/issues/534)) - Internal change: Fix LSP and Clippy warnings ([#​540](https://redirect.github.com/tikv/rust-prometheus/issues/540)) - Internal change: Bump MSRV to 1.81 ([#​539](https://redirect.github.com/tikv/rust-prometheus/issues/539)) - Documentation: Fix `register_histogram_vec_with_registry` docstring ([#​528](https://redirect.github.com/tikv/rust-prometheus/issues/528)) - Documentation: Fix typos in static-metric docstrings ([#​479](https://redirect.github.com/tikv/rust-prometheus/issues/479)) - Documentation: Add missing `protobuf` feature to README list ([#​531](https://redirect.github.com/tikv/rust-prometheus/issues/531))
--- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- Release Notes: - N/A Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 24 +++++++++++++++++++----- crates/collab/Cargo.toml | 2 +- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8ae9fd616c8c149d4f56afd939de6d5d903df569..a331a88342a209d0123dbc3bd33bc8dd022604bb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10950,9 +10950,9 @@ dependencies = [ [[package]] name = "prometheus" -version = "0.13.4" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1" +checksum = "3ca5326d8d0b950a9acd87e6a3f94745394f62e4dae1b1ee22b2bc0c394af43a" dependencies = [ "cfg-if", "fnv", @@ -10960,7 +10960,7 @@ dependencies = [ "memchr", "parking_lot", "protobuf", - "thiserror 1.0.69", + "thiserror 2.0.12", ] [[package]] @@ -11135,9 +11135,23 @@ dependencies = [ [[package]] name = "protobuf" -version = "2.28.0" +version = "3.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94" +checksum = "d65a1d4ddae7d8b5de68153b48f6aa3bba8cb002b243dbdbc55a5afbc98f99f4" +dependencies = [ + "once_cell", + "protobuf-support", + "thiserror 1.0.69", +] + +[[package]] +name = "protobuf-support" +version = "3.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e36c2f31e0a47f9280fb347ef5e461ffcd2c52dd520d8e216b52f93b0b0d7d6" +dependencies = [ + "thiserror 1.0.69", +] [[package]] name = "psm" diff --git a/crates/collab/Cargo.toml b/crates/collab/Cargo.toml index 5b46f17e3b733f0dfbc2cfad1f141d703c176a58..f60131e0deed86f7c9e0b130c9042183ca3ae72d 100644 --- a/crates/collab/Cargo.toml +++ b/crates/collab/Cargo.toml @@ -44,7 +44,7 @@ log.workspace = true nanoid.workspace = true open_ai.workspace = true parking_lot.workspace = true -prometheus = "0.13" +prometheus = "0.14" prost.workspace = true rand.workspace = true reqwest = { version = "0.11", features = ["json"] }