Skip to content

Commit 3d9f4b1

Browse files
committed
fix: swarm/src/lib.rs:tracing::debug!(%local_peer_id)
Pull-Request: libp2p#6123
1 parent e29dad6 commit 3d9f4b1

File tree

5 files changed

+9
-4
lines changed

5 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
@@ -102,7 +102,7 @@ libp2p-rendezvous = { version = "0.17.0", path = "protocols/rendezvous" }
102102
libp2p-request-response = { version = "0.29.0", path = "protocols/request-response" }
103103
libp2p-server = { version = "0.12.7", path = "misc/server" }
104104
libp2p-stream = { version = "0.4.0-alpha", path = "protocols/stream" }
105-
libp2p-swarm = { version = "0.47.0", path = "swarm" }
105+
libp2p-swarm = { version = "0.47.1", path = "swarm" }
106106
libp2p-swarm-derive = { version = "=0.35.1", path = "swarm-derive" } # `libp2p-swarm-derive` may not be compatible with different `libp2p-swarm` non-breaking releases. E.g. `libp2p-swarm` might introduce a new enum variant `FromSwarm` (which is `#[non-exhaustive]`) in a non-breaking release. Older versions of `libp2p-swarm-derive` would not forward this enum variant within the `NetworkBehaviour` hierarchy. Thus the version pinning is required.
107107
libp2p-swarm-test = { version = "0.6.0", path = "swarm-test" }
108108
libp2p-tcp = { version = "0.44.0", path = "transports/tcp" }

swarm/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.47.1
2+
3+
- Fix `src/lib.rs:tracing::debug!(%local_peer_id)`.
4+
See [PR 6123](https://github.com/libp2p/rust-libp2p/pull/6123)
5+
16
## 0.47.0
27

38
- Remove `async-std` support.

swarm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p-swarm"
33
edition.workspace = true
44
rust-version = { workspace = true }
55
description = "The libp2p swarm"
6-
version = "0.47.0"
6+
version = "0.47.1"
77
authors = ["Parity Technologies <[email protected]>"]
88
license = "MIT"
99
repository = "https://github.com/libp2p/rust-libp2p"

swarm/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ where
353353
local_peer_id: PeerId,
354354
config: Config,
355355
) -> Self {
356-
tracing::info!(%local_peer_id);
356+
tracing::debug!(%local_peer_id);
357357

358358
Swarm {
359359
local_peer_id,

0 commit comments

Comments
 (0)