Update Rust crate prometheus to 0.14 (#28468)
renovate[bot]
and
renovate[bot]
created
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
<details>
<summary>tikv/rust-prometheus (prometheus)</summary>
###
[`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<str>` 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))
</details>
---
### 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Change summary
Cargo.lock | 24 +++++++++++++++++++-----
crates/collab/Cargo.toml | 2 +-
2 files changed, 20 insertions(+), 6 deletions(-)
Detailed changes
@@ -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"
@@ -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"] }