- Handle
NetworkBehaviourAction::CloseConnection
. See PR 2110 for details.
- Extend
NetworkBehaviour
callbacks, more concretely introducing newfn inject_new_listener
andfn inject_expired_external_addr
and havefn inject_{new,expired}_listen_addr
provide aListenerId
PR 2011.
- Rename the crate to
libp2p-swarm-derive
.
- Update for compatibility with
libp2p-swarm-0.25
.
- Generate fully-qualified method name for
poll
to avoid ambiguity. PR 1681.
- Allow users to opt out of the
NetworkBehaviourEventProcess
mechanism through#[behaviour(event_process = false)]
. This is useful if users want to process all events while polling the swarm throughSwarmEvent::Behaviour
.