diff --git a/src/lib.rs b/src/lib.rs index 0239c5d6..b562f642 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,6 +2,9 @@ #![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 futures; #[macro_use] extern crate lazy_static; diff --git a/src/main.rs b/src/main.rs index 7f00d5e7..38c57fd3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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; extern crate env_logger; extern crate futures;