build(deps): Update prometheus-client requirement from 0.15.0 to 0.16.0 (#2631)

* build(deps): Update prometheus-client requirement from 0.15.0 to 0.16.0

Updates the requirements on [prometheus-client](https://github.com/prometheus/client_rust) to permit the latest version.
- [Release notes](https://github.com/prometheus/client_rust/releases)
- [Changelog](https://github.com/prometheus/client_rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_rust/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: prometheus-client
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* *: Update changelogs

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
dependabot[bot]
2022-05-06 14:57:40 +02:00
committed by GitHub
parent 9c7861f8ed
commit 93fa86c263
4 changed files with 9 additions and 2 deletions

View File

@@ -14,6 +14,10 @@
- Update to `libp2p-kad` `v0.37.0`.
- Update to `prometheus-client` `v0.16.0`. See [PR 2631].
[PR 2631]: https://github.com/libp2p/rust-libp2p/pull/2631
# 0.5.0
- Update to `libp2p-swarm` `v0.35.0`.

View File

@@ -26,7 +26,7 @@ libp2p-kad = { version = "0.37.0", path = "../../protocols/kad", optional = true
libp2p-ping = { version = "0.36.0", path = "../../protocols/ping", optional = true }
libp2p-relay = { version = "0.9.0", path = "../../protocols/relay", optional = true }
libp2p-swarm = { version = "0.36.0", path = "../../swarm" }
prometheus-client = "0.15.0"
prometheus-client = "0.16.0"
[target.'cfg(not(target_os = "unknown"))'.dependencies]
libp2p-gossipsub = { version = "0.38.0", path = "../../protocols/gossipsub", optional = true }

View File

@@ -6,7 +6,10 @@
- changed `TimeCache::contains_key` and `DuplicateCache::contains` to immutable methods. See [PR 2620].
- Update to `prometheus-client` `v0.16.0`. See [PR 2631].
[PR 2620]: https://github.com/libp2p/rust-libp2p/pull/2620
[PR 2631]: https://github.com/libp2p/rust-libp2p/pull/2631
# 0.37.0

View File

@@ -31,7 +31,7 @@ serde = { version = "1", optional = true, features = ["derive"] }
wasm-timer = "0.2.5"
instant = "0.1.11"
# Metrics dependencies
prometheus-client = "0.15.0"
prometheus-client = "0.16.0"
[dev-dependencies]
async-std = "1.6.3"