mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-22 06:11:34 +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:
@ -55,7 +55,7 @@ async fn main() -> Result<()> {
|
||||
libp2p_noise::Config::new(&local_key)
|
||||
.expect("Signing libp2p-noise static DH keypair failed."),
|
||||
)
|
||||
.multiplex(libp2p_yamux::YamuxConfig::default());
|
||||
.multiplex(libp2p_yamux::Config::default());
|
||||
|
||||
let quic = {
|
||||
let mut config = libp2p_quic::Config::new(&local_key);
|
||||
|
@ -49,7 +49,7 @@ async fn main() {
|
||||
libp2p_noise::Config::new(&local_key)
|
||||
.expect("Signing libp2p-noise static DH keypair failed."),
|
||||
)
|
||||
.multiplex(libp2p_yamux::YamuxConfig::default());
|
||||
.multiplex(libp2p_yamux::Config::default());
|
||||
|
||||
let quic = {
|
||||
let mut config = libp2p_quic::Config::new(&local_key);
|
||||
|
Reference in New Issue
Block a user