mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-12 09:31:20 +00:00
Add an alternative to the swarm (#472)
* Rewrite the swarm * Small improvement to Debug of ListenersStream * Fix Swarm::Replaced never being produced * Fix logic problem when reaching a node in swarm * Small comment in swarm * Add closed_multiaddr to Replaced event * Add address to NodeClosed and NodeError * Fix concerns * Remove StreamMuxer::boxed
This commit is contained in:
@ -219,7 +219,9 @@ extern crate protobuf;
|
||||
extern crate quick_error;
|
||||
extern crate rw_stream_sink;
|
||||
extern crate smallvec;
|
||||
extern crate tokio_executor;
|
||||
extern crate tokio_io;
|
||||
extern crate void;
|
||||
|
||||
#[cfg(test)]
|
||||
extern crate rand;
|
||||
@ -243,6 +245,7 @@ mod unique;
|
||||
|
||||
pub mod either;
|
||||
pub mod muxing;
|
||||
pub mod nodes;
|
||||
pub mod swarm;
|
||||
pub mod transport;
|
||||
pub mod upgrade;
|
||||
|
Reference in New Issue
Block a user