Cargo Update (#8443)

Co-Authored-By: Age Manning <Age@AgeManning.com>
This commit is contained in:
Age Manning
2025-11-24 16:20:01 +11:00
committed by GitHub
parent 261322c3e3
commit 2ba8a8e6ae
4 changed files with 1022 additions and 1061 deletions

View File

@@ -41,7 +41,7 @@ pub fn build_transport(
quic_support: bool,
) -> std::io::Result<BoxedTransport> {
// mplex config
let mut mplex_config = libp2p_mplex::MplexConfig::new();
let mut mplex_config = libp2p_mplex::Config::new();
mplex_config.set_max_buffer_size(256);
mplex_config.set_max_buffer_behaviour(libp2p_mplex::MaxBufferBehaviour::Block);