feat(yamux): rename symbols to follow module-based naming convention

Implements our naming convention for the `libp2p-yamux` crate.

Related: #2217.

Pull-Request: #3852.
This commit is contained in:
Thomas Eizinger
2023-05-01 04:25:52 +02:00
committed by GitHub
parent 193d2a1a6c
commit b1cdf8d4bb
35 changed files with 108 additions and 92 deletions

View File

@ -50,7 +50,7 @@ pub(crate) async fn new(
let transport = tcp::async_io::Transport::default()
.upgrade(Version::V1Lazy)
.authenticate(noise::Config::new(&id_keys)?)
.multiplex(yamux::YamuxConfig::default())
.multiplex(yamux::Config::default())
.boxed();
// Build the Swarm, connecting the lower layer transport logic with the