From 7e85a8750b8f5e18720890c6c82f8540ab390f0b Mon Sep 17 00:00:00 2001 From: Tangent Wantwight Date: Sat, 16 Nov 2019 13:27:58 -0500 Subject: [PATCH] Removed old Tokio version from Cargo.toml --- Cargo.lock | 3 --- Cargo.toml | 3 --- src/error.rs | 1 - 3 files changed, 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8479993..e295a7d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1720,10 +1720,7 @@ dependencies = [ "hyper 0.13.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "odds 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", "tokio 0.2.0-alpha.6 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", "warp 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", "weak-table 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/Cargo.toml b/Cargo.toml index 8132c9e..5d965d1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,9 +15,6 @@ hyper = "0.12.35" hyper13 = { package = "hyper", version="0.13.0-alpha.4", features = ["unstable-stream"] } matches = "0.1.8" odds = { version = "0.3.1", features = ["std-vec"] } -tokio = "0.1.22" tokio2 = { package = "tokio", version="0.2.0-alpha.6" } -tokio-codec = "0.1.1" -tokio-io = "0.1.12" warp = "0.1.20" weak-table = "0.2.3" diff --git a/src/error.rs b/src/error.rs index b54bc5a..5c5d297 100644 --- a/src/error.rs +++ b/src/error.rs @@ -8,7 +8,6 @@ custom_error!{pub WebmetroError HyperError{source: hyper::Error} = "Hyper error: {source}", Hyper13Error{source: hyper13::Error} = "Hyper error: {source}", IoError{source: std::io::Error} = "IO error: {source}", - TimerError{source: tokio::timer::Error} = "Timer error: {source}", WarpError{source: warp::Error} = "Warp error: {source}", ApplicationError{message: String} = "{message}" }