From 19679add85f754da20d10e521cc7f29f14ab1204 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 22 Jul 2022 15:01:57 +0000 Subject: [PATCH] Update Rust crate metrics to 0.20.1 --- Cargo.lock | 36 ++++++++++++++++++++++++++++++++---- Cargo.toml | 2 +- 2 files changed, 33 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3b6800d..d6ef05a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -467,7 +467,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "142c53885123b68d94108295a09d4afe1a1388ed95b54d5dacd9a454753030f2" dependencies = [ "ahash", - "metrics-macros", + "metrics-macros 0.5.1", +] + +[[package]] +name = "metrics" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b9b8653cec6897f73b519a43fba5ee3d50f62fe9af80b428accdcc093b4a849" +dependencies = [ + "ahash", + "metrics-macros 0.6.0", + "portable-atomic", ] [[package]] @@ -479,7 +490,7 @@ dependencies = [ "hyper", "indexmap", "ipnet", - "metrics", + "metrics 0.19.0", "metrics-util", "parking_lot 0.11.2", "quanta", @@ -499,6 +510,17 @@ dependencies = [ "syn", ] +[[package]] +name = "metrics-macros" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "731f8ecebd9f3a4aa847dfe75455e4757a45da40a7793d2f0b1f9b6ed18b23f3" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "metrics-util" version = "0.13.0" @@ -509,7 +531,7 @@ dependencies = [ "crossbeam-epoch", "crossbeam-utils", "hashbrown", - "metrics", + "metrics 0.19.0", "num_cpus", "parking_lot 0.11.2", "quanta", @@ -675,6 +697,12 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "portable-atomic" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "763095e04dcbeb889b2ab35296ecb18a20fe16b4e9877ce64aab73d8fd05a8c3" + [[package]] name = "proc-macro2" version = "1.0.37" @@ -832,7 +860,7 @@ dependencies = [ "flate2", "futures-util", "hyper", - "metrics", + "metrics 0.20.1", "metrics-exporter-prometheus", "serde", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index 16940fe..dbb6af9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,6 +23,6 @@ tokio-util = { version = "0.7.3", features = ["io"] } futures-util = "0.3.21" uuid = { version = "1.1.2", features = ["v4"] } serde_json = "1.0.82" -metrics = "0.19.0" +metrics = "0.20.1" metrics-exporter-prometheus = "0.10.0" serde = { version = "1.0", features = ["derive"] } -- 2.40.1