From 506aed8b3069142e44177c0aa48567de9290ab9b Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Sat, 26 Oct 2019 10:01:41 -0700 Subject: [PATCH] pruning dependencies a bit --- Cargo.toml | 4 ++-- src/req/regional_requester.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3eefebc..02d8707 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,12 +15,12 @@ log = "0.4" num_enum = "0.4" parking_lot = { version = "0.9", features = [ "nightly" ] } reqwest = { version = "0.10.0-alpha.1", features = [ "gzip", "json" ] } -scan_fmt = "0.2" +scan_fmt = { version = "0.2", default-features = false } serde = { version = "1.0", features = [ "derive" ] } serde_repr = "0.1" strum = "0.16" strum_macros = "0.16" -tokio-timer = "0.3.0-alpha.5" +tokio = { version = "0.2.0-alpha.6", default-features = false, features = [ "timer" ] } url = "2.1" [dev-dependencies] diff --git a/src/req/regional_requester.rs b/src/req/regional_requester.rs index 1d4c5e3..a1c190d 100644 --- a/src/req/regional_requester.rs +++ b/src/req/regional_requester.rs @@ -3,7 +3,7 @@ use std::sync::Arc; use log; use reqwest::{ Client, StatusCode, Url }; -use tokio_timer::delay_for; +use tokio::timer::delay_for; use crate::Result; use crate::RiotApiError;