diff --git a/Cargo.lock b/Cargo.lock index 03ff5bc..f7d59e0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -19,6 +19,17 @@ dependencies = [ "version_check", ] +[[package]] +name = "ahash" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +dependencies = [ + "cfg-if", + "once_cell", + "version_check", +] + [[package]] name = "async-trait" version = "0.1.68" @@ -261,7 +272,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash", + "ahash 0.7.6", ] [[package]] @@ -449,9 +460,20 @@ version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b9b8653cec6897f73b519a43fba5ee3d50f62fe9af80b428accdcc093b4a849" dependencies = [ - "ahash", - "metrics-macros", - "portable-atomic", + "ahash 0.7.6", + "metrics-macros 0.6.0", + "portable-atomic 0.3.4", +] + +[[package]] +name = "metrics" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa8ebbd1a9e57bbab77b9facae7f5136aea44c356943bf9a198f647da64285d6" +dependencies = [ + "ahash 0.8.3", + "metrics-macros 0.7.0", + "portable-atomic 1.2.0", ] [[package]] @@ -463,10 +485,10 @@ dependencies = [ "hyper", "indexmap", "ipnet", - "metrics", + "metrics 0.20.1", "metrics-util", "parking_lot", - "portable-atomic", + "portable-atomic 0.3.4", "quanta", "thiserror", "tokio", @@ -484,6 +506,17 @@ dependencies = [ "syn 1.0.103", ] +[[package]] +name = "metrics-macros" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddece26afd34c31585c74a4db0630c376df271c285d682d1e55012197830b6df" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.15", +] + [[package]] name = "metrics-util" version = "0.14.0" @@ -493,10 +526,10 @@ dependencies = [ "crossbeam-epoch", "crossbeam-utils", "hashbrown 0.12.3", - "metrics", + "metrics 0.20.1", "num_cpus", "parking_lot", - "portable-atomic", + "portable-atomic 0.3.4", "quanta", "sketches-ddsketch", ] @@ -560,9 +593,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.13.0" +version = "1.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" +checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" [[package]] name = "overload" @@ -637,6 +670,12 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "763095e04dcbeb889b2ab35296ecb18a20fe16b4e9877ce64aab73d8fd05a8c3" +[[package]] +name = "portable-atomic" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f602a0d1e09a48e4f8e8b4d4042e32807c3676da31f2ecabeac9f96226ec6c45" + [[package]] name = "proc-macro2" version = "1.0.56" @@ -815,7 +854,7 @@ dependencies = [ "flate2", "futures-util", "hyper", - "metrics", + "metrics 0.21.0", "metrics-exporter-prometheus", "serde", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index b06ad05..d86ebe4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,6 +23,6 @@ tokio-util = { version = "0.7.8", features = ["io"] } futures-util = "0.3.28" uuid = { version = "1.3.2", features = ["v4"] } serde_json = "1.0.96" -metrics = "0.20.1" +metrics = "0.21.0" metrics-exporter-prometheus = "0.11.0" serde = { version = "1.0", features = ["derive"] }