Registry / networking / libp2p-yamux

libp2p-yamux

JSON →
library0.47.0rscratesunverified

Yamux multiplexing protocol for libp2p.

# Cargo.toml [dependencies] libp2p-yamux = "0.47.0"
INSTALL
IMPORT
SIG · LIBP2P-YAMUX
L
libp2p-yamux
networkingrustv0.47.0
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.

YamuxConfig
use libp2p_yamux::YamuxConfig;

Creates a default Yamux configuration for multiplexing in libp2p.

use libp2p_yamux::YamuxConfig; fn main() { let config = YamuxConfig::default(); // Use config with libp2p transport println!("Yamux config created"); }
Debug
Known issues
gotchaRequires an async runtime (e.g., Tokio) to function.
fix
Ensure you have a runtime like Tokio set up in your application.
affects: >=0.47.0
Upgrade
Version history
0.47.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
libp2p-yamux — cargo add libp2p-yamux · libregistry