Add memory transport. (#343)

* Add memory transport.

* Change test to be compatible with rust stable.

* Address concerns

* Add some documentation and minor fixes

* Move transport test to memory module
This commit is contained in:
Toralf Wittner
2018-07-25 13:44:27 +02:00
committed by Pierre Krieger
parent e0d057a1a6
commit 81e8735968
5 changed files with 294 additions and 1 deletions

View File

@ -210,11 +210,16 @@ extern crate parking_lot;
extern crate protobuf;
#[macro_use]
extern crate quick_error;
extern crate rw_stream_sink;
extern crate smallvec;
extern crate tokio_io;
#[cfg(test)]
extern crate rand;
#[cfg(test)]
extern crate tokio_codec;
#[cfg(test)]
extern crate tokio_current_thread;
/// Multi-address re-export.
pub extern crate multiaddr;