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

@ -55,7 +55,7 @@ async fn main() {
tcp::tokio::Transport::default()
.upgrade(Version::V1Lazy)
.authenticate(noise::Config::new(&key_pair).unwrap())
.multiplex(yamux::YamuxConfig::default())
.multiplex(yamux::Config::default())
.boxed(),
MyBehaviour {
identify: identify::Behaviour::new(identify::Config::new(