-
Hi! I'm trying to test the quic implementation that is in progress on #3454 (using Testground). Here is a test I'm working on however a build error below occurs: let swarm = SwarmBuilder::with_tokio_executor(
libp2p_quic::tokio::Transport::new(libp2p_quic::Config::new(&keypair)).boxed(),
gossipsub,
PeerId::from(keypair.public()),
)
I couldn't find a builder function that takes |
Beta Was this translation helpful? Give feedback.
Answered by
mxinden
Jun 11, 2023
Replies: 1 comment 1 reply
-
Seems like you are not wrapping the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ackintosh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems like you are not wrapping the
libp2p_quic::Connection
in aStreamMuxerBox
. Is the example below of some help?https://github.com/mxinden/rust-libp2p/blob/84d29b34b19aef161a8583daffb9f63a385a613b/protocols/perf/src/bin/perf.rs#L395-L425