Skip to content

Commit 0e52451

Browse files
authored
fix(libp2p): delegate metrics feature to gossipsub when enabled
Pull-Request: #6180.
1 parent 2fb2486 commit 0e52451

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ rust-version = "1.83.0"
7474
edition = "2021"
7575

7676
[workspace.dependencies]
77-
libp2p = { version = "0.56.0", path = "libp2p" }
77+
libp2p = { version = "0.56.1", path = "libp2p" }
7878
libp2p-allow-block-list = { version = "0.6.0", path = "misc/allow-block-list" }
7979
libp2p-autonat = { version = "0.15.0", path = "protocols/autonat" }
8080
libp2p-connection-limits = { version = "0.6.0", path = "misc/connection-limits" }

libp2p/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.56.1
2+
3+
- Fix `metrics` delegation to gossipsub protocol.
4+
See [PR 6180](https://github.com/libp2p/rust-libp2p/pull/6180)
5+
16
## 0.56.0
27

38
- Remove `async-std` support.

libp2p/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p"
33
edition.workspace = true
44
rust-version = { workspace = true }
55
description = "Peer-to-peer networking library"
6-
version = "0.56.0"
6+
version = "0.56.1"
77
authors = ["Parity Technologies <[email protected]>"]
88
license = "MIT"
99
repository = "https://github.com/libp2p/rust-libp2p"
@@ -65,7 +65,7 @@ kad = ["dep:libp2p-kad", "libp2p-metrics?/kad"]
6565
macros = ["libp2p-swarm/macros"]
6666
mdns = ["dep:libp2p-mdns"]
6767
memory-connection-limits = ["dep:libp2p-memory-connection-limits"]
68-
metrics = ["dep:libp2p-metrics"]
68+
metrics = ["dep:libp2p-metrics", "libp2p-gossipsub?/metrics"]
6969
noise = ["dep:libp2p-noise"]
7070
ping = ["dep:libp2p-ping", "libp2p-metrics?/ping"]
7171
plaintext = ["dep:libp2p-plaintext"]

0 commit comments

Comments
 (0)