diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 3 | ||||
-rw-r--r-- | src/main.rs | 1 | ||||
-rw-r--r-- | src/ratelimiter.rs | 2 | ||||
-rw-r--r-- | src/timer.rs | 2 |
4 files changed, 5 insertions, 3 deletions
@@ -1,3 +1,4 @@ +#![allow(unknown_lints)] #![warn(clippy)] #![feature(ip_constructors)] #![feature(try_trait)] @@ -31,11 +32,11 @@ extern crate snow; extern crate socket2; extern crate subtle; extern crate test; -extern crate tokio; extern crate tokio_io; extern crate tokio_uds; extern crate tokio_utun; extern crate tokio_signal; +extern crate tokio_timer; extern crate treebitmap; extern crate x25519_dalek; diff --git a/src/main.rs b/src/main.rs index c056150..df37a75 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,5 @@ #![feature(test)] +#![allow(unknown_lints)] #![warn(clippy)] #[macro_use] extern crate failure; diff --git a/src/ratelimiter.rs b/src/ratelimiter.rs index 18082b0..ee916fc 100644 --- a/src/ratelimiter.rs +++ b/src/ratelimiter.rs @@ -4,7 +4,7 @@ use timestamp::Timestamp; use failure::Error; use futures::{unsync::mpsc, Async, Future, Poll, Stream, Sink}; -use tokio::timer::Interval; +use tokio_timer::Interval; use tokio_core::reactor::Handle; use std::collections::HashMap; use std::net::IpAddr; diff --git a/src/timer.rs b/src/timer.rs index dc6188a..aea41e9 100644 --- a/src/timer.rs +++ b/src/timer.rs @@ -2,7 +2,7 @@ use consts::TIMER_RESOLUTION; use futures::{Future, Stream, Sink, Poll, unsync}; use std::{cell::RefCell, rc::Rc}; use std::time::{Instant, Duration}; -use tokio::timer::Delay; +use tokio_timer::Delay; use tokio_core::reactor::Handle; use interface::WeakSharedPeer; |