v0.43.0
版本发布时间: 2022-02-22 23:19:56
libp2p/rust-libp2p最新发布版本:v0.54.1(2024-09-12 00:03:56)
Medium size release, containing many internal refactorings as well as the last missing piece of basic hole punching, namely libp2p-dcutr
. To try out hole punching yourself, follow the tutorial.
Most notable breaking changes:
-
Fold
libp2p-core
'sNetwork
intoSwarm
. See [PR 2492].Along with this change, many types are now exposed through
libp2p-swarm
instead oflibp2p-core
. When in doubt, changelibp2p::core::
tolibp2p::swarm::
. -
Merge NetworkBehaviour's inject_* paired methods (see PR 2445).
-
- Rename
ProtocolsHandler
toConnectionHandler
. Upgrade should be as simple as renaming all occurences ofProtocolsHandler
toConnectionHandler
with your favorite text manipulation tool across your codebase. See [PR 2527].
- Rename
See individual changelogs for details.