diff --git a/Cargo.lock b/Cargo.lock index 59f6cac..f50c912 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1785,7 +1785,7 @@ dependencies = [ "log", "maxminddb", "parking_lot", - "prometheus-client", + "prometheus-client 0.22.0", "regex", "serde", "serde_derive", @@ -2013,7 +2013,7 @@ dependencies = [ "libp2p-ping", "libp2p-swarm", "once_cell", - "prometheus-client", + "prometheus-client 0.21.2", ] [[package]] @@ -2711,6 +2711,18 @@ dependencies = [ "prometheus-client-derive-encode", ] +[[package]] +name = "prometheus-client" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "510c4f1c9d81d556458f94c98f857748130ea9737bbd6053da497503b26ea63c" +dependencies = [ + "dtoa", + "itoa", + "parking_lot", + "prometheus-client-derive-encode", +] + [[package]] name = "prometheus-client-derive-encode" version = "0.4.1" diff --git a/Cargo.toml b/Cargo.toml index 28d100e..f9817b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ env_logger = "0.10.0" futures = "0.3.28" libp2p = { git = "https://github.com/libp2p/rust-libp2p.git", branch = "master", version = "0.52", default-features = false, features = ["dns", "async-std", "noise", "tcp", "yamux", "identify", "kad", "ping", "metrics", "rsa", "macros", "quic"] } log = "0.4.20" -prometheus-client = "0.21.2" +prometheus-client = "0.22.0" parking_lot = "0.12" regex = "1" void = "1.0.2"