Registry / networking / libp2p-mplex

libp2p-mplex

JSON →
library0.43.1rscratesunverified

Implements the mplex multiplexing protocol for libp2p, allowing multiple substreams over a single connection.

# Cargo.toml [dependencies] libp2p-mplex = "0.43.1"
INSTALL
IMPORT
SIG · LIBP2P-MPLEX
L
libp2p-mplex
networkingrustv0.43.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MplexConfig
use libp2p_mplex::MplexConfig;

Creates a new MplexConfig for use with libp2p.

use libp2p_mplex::MplexConfig; use libp2p::core::upgrade::apply_inbound; fn main() { let config = MplexConfig::new(); println!("Mplex config created: {:?}", config); }
Debug
Known issues
breakingMplex is deprecated in favor of yamux for new projects.
fix
Use `libp2p-yamux` instead.
affects: >=0.43.0
Upgrade
Version history
0.43.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
libp2p-mplex — cargo add libp2p-mplex · libregistry