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

@ -66,7 +66,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
let transport = tcp::async_io::Transport::default()
.upgrade(Version::V1Lazy)
.authenticate(noise::Config::new(&local_key)?)
.multiplex(yamux::YamuxConfig::default())
.multiplex(yamux::Config::default())
.boxed();
// We create a custom network behaviour that combines Kademlia and mDNS.