From f382f45e6558d252ae10ce177c951e19ccc54335 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sun, 30 Apr 2017 14:36:42 +0300 Subject: [PATCH] refactor(lib): use try_nb! from tokio_io, not tokio_core tokio_core::io is deprecated, and the try_nb! conceptually belongs to that module. It is also available in tokio_io, so use that instead. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 2db6f368..dfef3cad 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,8 +23,8 @@ extern crate language_tags; #[macro_use] pub extern crate mime; extern crate base64; extern crate time; -#[macro_use] extern crate tokio_core as tokio; -extern crate tokio_io; +extern crate tokio_core as tokio; +#[macro_use] extern crate tokio_io; extern crate tokio_proto; extern crate tokio_service; extern crate unicase;