diff --git a/Cargo.lock b/Cargo.lock index c70defa92524..891aeddd45a1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2950,7 +2950,7 @@ dependencies = [ [[package]] name = "libp2p-swarm" -version = "0.43.4" +version = "0.44.0" dependencies = [ "async-std", "either", diff --git a/Cargo.toml b/Cargo.toml index 8d7662f4669d..df9770124bca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -95,7 +95,7 @@ libp2p-rendezvous = { version = "0.13.0", path = "protocols/rendezvous" } libp2p-upnp = { version = "0.1.0", path = "protocols/upnp" } libp2p-request-response = { version = "0.25.1", path = "protocols/request-response" } libp2p-server = { version = "0.12.3", path = "misc/server" } -libp2p-swarm = { version = "0.43.4", path = "swarm" } +libp2p-swarm = { version = "0.44.0", path = "swarm" } libp2p-swarm-derive = { version = "0.34.0", path = "swarm-derive" } libp2p-swarm-test = { version = "0.2.0", path = "swarm-test" } libp2p-tcp = { version = "0.40.0", path = "transports/tcp" } diff --git a/swarm-derive/CHANGELOG.md b/swarm-derive/CHANGELOG.md index 6757f646dbc9..d24015ae89a4 100644 --- a/swarm-derive/CHANGELOG.md +++ b/swarm-derive/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.34.0 +## 0.34.0 - unreleased - Add `from_swarm::NewExternalAddrOfPeer` event. See [PR 4371] diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index ca49d92031fe..d2daab32aa09 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -3,7 +3,7 @@ name = "libp2p-swarm" edition = "2021" rust-version = { workspace = true } description = "The libp2p swarm" -version = "0.43.4" +version = "0.44.0" authors = ["Parity Technologies "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" diff --git a/swarm/src/behaviour.rs b/swarm/src/behaviour.rs index c1553c88e6fb..566d51dc606b 100644 --- a/swarm/src/behaviour.rs +++ b/swarm/src/behaviour.rs @@ -321,8 +321,7 @@ pub enum ToSwarm { connection: CloseConnection, }, - /// TODO: more documentation needed - /// Reports external address of a remote peer to other `NetworkBehaviours` + /// Reports external address of a remote peer to other [`NetworkBehaviours`]. NewExternalAddrOfPeer { peer_id: PeerId, addr: Multiaddr }, }