From ded43122a26f6d6a9e5955a5bd20673529fa8ae2 Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Sat, 29 Apr 2017 12:56:15 +0100 Subject: [PATCH] Allow deprecated items. Tokio has moved lots of stuff from tokio-core::io to tokio-io. --- src/lib.rs | 3 +++ src/main.rs | 3 +++ 2 files changed, 6 insertions(+) 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;