-
Remove unnecessary clone of error in
inject_dial_failure
(see PR 2349). -
Migrate to Rust edition 2021 (see PR 2339).
- Adjust to advanced dialing requests API changes (see PR 2317).
-
Update to latest
libp2p-swarm
changes (see PR 2191). -
Make
event_process = false
the default.
- 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
.