mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-30 18:21:33 +00:00
Split ConnectionUpgrade
. (#642)
Introduce `InboundUpgrade` and `OutboundUpgrade`.
This commit is contained in:
committed by
Pierre Krieger
parent
466385a58a
commit
2e549884ef
@ -164,8 +164,11 @@ mod transport_ext;
|
||||
|
||||
pub mod simple;
|
||||
|
||||
pub use self::core::{
|
||||
Transport, PeerId,
|
||||
upgrade::{InboundUpgrade, InboundUpgradeExt, OutboundUpgrade, OutboundUpgradeExt}
|
||||
};
|
||||
pub use libp2p_core_derive::NetworkBehaviour;
|
||||
pub use self::core::{Transport, ConnectionUpgrade, PeerId};
|
||||
pub use self::multiaddr::Multiaddr;
|
||||
pub use self::simple::SimpleProtocol;
|
||||
pub use self::transport_ext::TransportExt;
|
||||
|
Reference in New Issue
Block a user