Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Update libp2p, tokio, warp, prost, futures, etc #446

Merged
merged 24 commits into from
Jan 26, 2021

Conversation

koivunej
Copy link
Collaborator

@koivunej koivunej commented Jan 12, 2021

Rebased the #431 work on top of the latest master. This PR will leave:

  • mdns commented out
  • domain a git dependency pending a release or migration to trust-dns following upcoming changes in libp2p-dns

@koivunej koivunej force-pushed the ljedrz-update_libp2p_and_tokio2 branch from 4a5ac67 to e9e6d55 Compare January 18, 2021 15:00
@koivunej
Copy link
Collaborator Author

Rebased on top of the latest master (minor CHANGELOG.md conflict, fixed some messed up links :))

@koivunej
Copy link
Collaborator Author

koivunej commented Jan 18, 2021

Still left to do:

  • checking of the cargo tree for extra deps, duplicate deps

@koivunej koivunej changed the title Update libp2p and tokio Update libp2p, tokio, warp, prost, futures, etc Jan 18, 2021
@koivunej koivunej force-pushed the ljedrz-update_libp2p_and_tokio2 branch from d03ca1b to 5b042a6 Compare January 20, 2021 09:13
@koivunej
Copy link
Collaborator Author

I had missed a rust-libp2p release 0.34, so that can be checked off. Thinking off doing some commit squashing and them merging. The windows test failure seemed transient.

@koivunej koivunej force-pushed the ljedrz-update_libp2p_and_tokio2 branch from 686a917 to 2031708 Compare January 25, 2021 09:49
@koivunej koivunej marked this pull request as ready for review January 25, 2021 09:58
@koivunej
Copy link
Collaborator Author

Must be better to merge this and keep awaiting for a domain release and/or consider trust-dns once libp2p starts to using it as well.

@koivunej koivunej requested a review from ljedrz January 25, 2021 10:57
http/src/v0.rs Outdated Show resolved Hide resolved
Copy link
Member

@ljedrz ljedrz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must have been a challenge to get all those deps aligned!

LGTM 👍

@koivunej
Copy link
Collaborator Author

We stopped to discuss cargo test --test block_exchange -- --ignored long_get_block which became ignored following probably some libp2p change.

In current master with libp2p-kad 0.23 the test works however with libp2p-kad 0.25 it stopped working. I think I'll merge this regardless so that I can get to making smaller PRs to fix the issue.

@koivunej
Copy link
Collaborator Author

bors r+

@bors
Copy link
Contributor

bors bot commented Jan 26, 2021

Build succeeded:

@bors bors bot merged commit a89b0c9 into rs-ipfs:master Jan 26, 2021
@koivunej koivunej mentioned this pull request Jan 27, 2021
Mirko-von-Leipzig added a commit to Mirko-von-Leipzig/rust-ipfs that referenced this pull request Aug 30, 2021
This was disabled in PR rs-ipfs#446, due to libp2p removing tokio support for
it. The support has since been added back so this should work again.

rs-ipfs#446
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants