libp2p / punchr

🥊 Components to measure Direct Connection Upgrade through Relay (DCUtR) performance.
Apache License 2.0
49 stars 11 forks source link

rust-client: Add support for QUIC transport #52

Closed elenaf9 closed 1 year ago

elenaf9 commented 1 year ago

Add support for the QUIC transport to the rust-client. Resolves #41. Since the IPFS network does not support the new /quic-v1 codepoint yet we have to use the old /quic one, interpreted as draft-29. This is not supported by rust-libp2p v0.50.0 / libp2p-quic v0.7.0-alpha, thus this PR uses right now libp2p from libp2p/rust-libp2p#3151.

elenaf9 commented 1 year ago

@MarcoPolo nix builds in the CI fail, I think because we are now using libp2p from git. Any idea how to fix this?

elenaf9 commented 1 year ago

@mxinden I would already merge this PR. Once libp2p/rust-libp2p#3151 is merged we can change the git rev to the merge commit or wait for the patch release of libp2p-quic.

mxinden commented 1 year ago

//CC @MarcoPolo we broke the Nix build, given that the Rust client now depends on a git reference. We prioritized QUIC over Nix. Please speak up in case that is a big issue.

MarcoPolo commented 1 year ago

Not a problem, looks like an easy fix. I'll have something up in a bit