From 5d49f73471104fc441dea817f7a794118e10e704 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 21 Jul 2022 02:03:00 +0000 Subject: [PATCH] Update Rust crate metrics-exporter-prometheus to 0.11.0 --- Cargo.lock | 105 ++++++++++++++++++++++------------------------------- Cargo.toml | 2 +- 2 files changed, 44 insertions(+), 63 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3b6800d..58d134e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -39,15 +39,6 @@ dependencies = [ "syn", ] -[[package]] -name = "atomic-shim" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67cd4b51d303cf3501c301e8125df442128d3c6d7c69f71b27833d253de47e77" -dependencies = [ - "crossbeam-utils", -] - [[package]] name = "autocfg" version = "1.1.0" @@ -268,6 +259,12 @@ name = "hashbrown" version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" + +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ "ahash", ] @@ -351,16 +348,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f647032dfaa1f8b6dc29bd3edb7bbef4861b8b8007ebb118d6db284fd59f6ee" dependencies = [ "autocfg", - "hashbrown", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if", + "hashbrown 0.11.2", ] [[package]] @@ -471,17 +459,29 @@ dependencies = [ ] [[package]] -name = "metrics-exporter-prometheus" -version = "0.10.0" +name = "metrics" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "953cbbb6f9ba4b9304f4df79b98cdc9d14071ed93065a9fca11c00c5d9181b66" +checksum = "94a70dc6c8179c4e889928dffb92336b821462c7b7613de91304fe80040fec12" +dependencies = [ + "ahash", + "metrics-macros", + "portable-atomic", +] + +[[package]] +name = "metrics-exporter-prometheus" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8603921e1f54ef386189335f288441af761e0fc61bcb552168d9cedfe63ebc70" dependencies = [ "hyper", "indexmap", "ipnet", - "metrics", + "metrics 0.20.0", "metrics-util", - "parking_lot 0.11.2", + "parking_lot", + "portable-atomic", "quanta", "thiserror", "tokio", @@ -501,17 +501,17 @@ dependencies = [ [[package]] name = "metrics-util" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd1f4b69bef1e2b392b2d4a12902f2af90bb438ba4a66aa222d1023fa6561b50" +checksum = "f7d24dc2dbae22bff6f1f9326ffce828c9f07ef9cc1e8002e5279f845432a30a" dependencies = [ - "atomic-shim", "crossbeam-epoch", "crossbeam-utils", - "hashbrown", - "metrics", + "hashbrown 0.12.3", + "metrics 0.20.0", "num_cpus", - "parking_lot 0.11.2", + "parking_lot", + "portable-atomic", "quanta", "sketches-ddsketch", ] @@ -589,17 +589,6 @@ version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7709cef83f0c1f58f666e746a08b21e0085f7440fa6a29cc194d68aac97a4225" -[[package]] -name = "parking_lot" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" -dependencies = [ - "instant", - "lock_api", - "parking_lot_core 0.8.5", -] - [[package]] name = "parking_lot" version = "0.12.0" @@ -607,21 +596,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58" dependencies = [ "lock_api", - "parking_lot_core 0.9.2", -] - -[[package]] -name = "parking_lot_core" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216" -dependencies = [ - "cfg-if", - "instant", - "libc", - "redox_syscall", - "smallvec", - "winapi", + "parking_lot_core", ] [[package]] @@ -675,6 +650,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" @@ -686,9 +667,9 @@ dependencies = [ [[package]] name = "quanta" -version = "0.9.3" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20afe714292d5e879d8b12740aa223c6a88f118af41870e8b6196e39a02238a8" +checksum = "b7e31331286705f455e56cca62e0e717158474ff02b7936c1fa596d983f4ae27" dependencies = [ "crossbeam-utils", "libc", @@ -832,7 +813,7 @@ dependencies = [ "flate2", "futures-util", "hyper", - "metrics", + "metrics 0.19.0", "metrics-exporter-prometheus", "serde", "serde_json", @@ -847,9 +828,9 @@ dependencies = [ [[package]] name = "sketches-ddsketch" -version = "0.1.3" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04d2ecae5fcf33b122e2e6bd520a57ccf152d2dde3b38c71039df1a6867264ee" +checksum = "ceb945e54128e09c43d8e4f1277851bd5044c6fc540bbaa2ad888f60b3da9ae7" [[package]] name = "slab" @@ -942,7 +923,7 @@ dependencies = [ "mio", "num_cpus", "once_cell", - "parking_lot 0.12.0", + "parking_lot", "pin-project-lite", "signal-hook-registry", "socket2", diff --git a/Cargo.toml b/Cargo.toml index 16940fe..b45442b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,5 +24,5 @@ futures-util = "0.3.21" uuid = { version = "1.1.2", features = ["v4"] } serde_json = "1.0.82" metrics = "0.19.0" -metrics-exporter-prometheus = "0.10.0" +metrics-exporter-prometheus = "0.11.0" serde = { version = "1.0", features = ["derive"] }