diff --git a/Cargo.lock b/Cargo.lock index 3b6800d..9c0acbd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -470,6 +470,17 @@ dependencies = [ "metrics-macros", ] +[[package]] +name = "metrics" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94a70dc6c8179c4e889928dffb92336b821462c7b7613de91304fe80040fec12" +dependencies = [ + "ahash", + "metrics-macros", + "portable-atomic", +] + [[package]] name = "metrics-exporter-prometheus" version = "0.10.0" @@ -479,7 +490,7 @@ dependencies = [ "hyper", "indexmap", "ipnet", - "metrics", + "metrics 0.19.0", "metrics-util", "parking_lot 0.11.2", "quanta", @@ -509,7 +520,7 @@ dependencies = [ "crossbeam-epoch", "crossbeam-utils", "hashbrown", - "metrics", + "metrics 0.19.0", "num_cpus", "parking_lot 0.11.2", "quanta", @@ -675,6 +686,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 +849,7 @@ dependencies = [ "flate2", "futures-util", "hyper", - "metrics", + "metrics 0.20.0", "metrics-exporter-prometheus", "serde", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index 16940fe..08a964d 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.0" metrics-exporter-prometheus = "0.10.0" serde = { version = "1.0", features = ["derive"] }