mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-16 11:31:22 +00:00
Add ProtocolsHandler trait (#573)
* Add ProtocolsHandler trait * Reexport symbols * Add a note about shutting down * Add map_protocol * Add a NodeHandlerWrapperBuilder * Update core/src/nodes/protocols_handler.rs Co-Authored-By: tomaka <pierre.krieger1708@gmail.com> * Fix compilation
This commit is contained in:
@ -184,6 +184,7 @@ extern crate rw_stream_sink;
|
||||
extern crate smallvec;
|
||||
extern crate tokio_executor;
|
||||
extern crate tokio_io;
|
||||
extern crate tokio_timer;
|
||||
extern crate void;
|
||||
|
||||
#[cfg(test)]
|
||||
@ -193,8 +194,6 @@ extern crate tokio;
|
||||
#[cfg(test)]
|
||||
extern crate tokio_codec;
|
||||
#[cfg(test)]
|
||||
extern crate tokio_timer;
|
||||
#[cfg(test)]
|
||||
#[macro_use]
|
||||
extern crate assert_matches;
|
||||
#[cfg(test)]
|
||||
|
Reference in New Issue
Block a user