Switch libp2p-core to edition 2018 (#819)

This commit is contained in:
Pierre Krieger
2019-01-07 11:21:09 +01:00
committed by GitHub
parent 7a1af7893a
commit 2eb7fe7c64
25 changed files with 65 additions and 87 deletions

View File

@ -53,37 +53,6 @@
//! outbound substream, etc. See the `protocols_handler` trait.
//!
extern crate bs58;
extern crate bytes;
extern crate fnv;
#[macro_use]
extern crate futures;
#[macro_use]
extern crate log;
extern crate multihash;
extern crate multistream_select;
extern crate parking_lot;
extern crate protobuf;
#[macro_use]
extern crate quick_error;
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)]
extern crate rand;
#[cfg(test)]
extern crate tokio;
#[cfg(test)]
extern crate tokio_codec;
#[cfg(test)]
#[macro_use]
extern crate assert_matches;
#[cfg(test)]
extern crate tokio_mock_task;
/// Multi-address re-export.
pub extern crate multiaddr;