aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs3
-rw-r--r--src/main.rs1
-rw-r--r--src/ratelimiter.rs2
-rw-r--r--src/timer.rs2
4 files changed, 5 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 7a3b5a3..22b8fb3 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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;