Skip to content

Struggling to upgrade to v0.48 #3198

Closed Answered by thomaseizinger
bhagdave asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure if this is the right place to ask this question

It is!

0.31 is quite an old version and a few things have changed. It might be a bit much but you could read through the CHANGELOG to figure out how to migrate that code.

You are probably better off by looking at one of the existing examples: https://github.com/libp2p/rust-libp2p/tree/master/examples

Does the compile output any deprecation warnings at all on version 0.47? We usually try to guide users through breaking changes with that. NetworkBehaviourEventProcess and the ability to ignore fields has been removed in libp2p-swarm-derive v0.30.0: https://github.com/libp2p/rust-libp2p/blob/master/swarm-derive/CHANGELOG.md#0300 in fa…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bhagdave
Comment options

@thomaseizinger
Comment options

Answer selected by bhagdave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants