Allow deprecated items.

Tokio has moved lots of stuff from tokio-core::io to tokio-io.
This commit is contained in:
Paul Lietar 2017-04-29 12:56:15 +01:00
parent e60cdeafca
commit ded43122a2
2 changed files with 6 additions and 0 deletions

View file

@ -2,6 +2,9 @@
#![cfg_attr(feature = "cargo-clippy", allow(unused_io_amount))] #![cfg_attr(feature = "cargo-clippy", allow(unused_io_amount))]
// TODO: many items from tokio-core::io have been deprecated in favour of tokio-io
#![allow(deprecated)]
#[macro_use] extern crate error_chain; #[macro_use] extern crate error_chain;
#[macro_use] extern crate futures; #[macro_use] extern crate futures;
#[macro_use] extern crate lazy_static; #[macro_use] extern crate lazy_static;

View file

@ -1,3 +1,6 @@
// TODO: many items from tokio-core::io have been deprecated in favour of tokio-io
#![allow(deprecated)]
#[macro_use] extern crate log; #[macro_use] extern crate log;
extern crate env_logger; extern crate env_logger;
extern crate futures; extern crate futures;