mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-05 20:51:37 +00:00
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:
@ -32,7 +32,7 @@ use libp2p_swarm::{
|
||||
dial_opts::DialOpts, AddressScore, NetworkBehaviour, Swarm, SwarmBuilder, SwarmEvent,
|
||||
THandlerErr,
|
||||
};
|
||||
use libp2p_yamux::YamuxConfig;
|
||||
use libp2p_yamux as yamux;
|
||||
use std::fmt::Debug;
|
||||
use std::time::Duration;
|
||||
|
||||
@ -216,7 +216,7 @@ where
|
||||
.authenticate(PlainText2Config {
|
||||
local_public_key: identity.public(),
|
||||
})
|
||||
.multiplex(YamuxConfig::default())
|
||||
.multiplex(yamux::Config::default())
|
||||
.timeout(Duration::from_secs(20))
|
||||
.boxed();
|
||||
|
||||
|
Reference in New Issue
Block a user