From 598f5ed496077e9edca36ff95e2ab352c5b22d0f Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 18 May 2015 10:46:38 +0200 Subject: [PATCH] chore(cargo):update to latest hyper/yup-hyper-mock This fixes the macro issues that caused us so much trouble --- Cargo.toml | 13 ++----------- src/lib.rs | 1 - 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8eb07d7..c69646f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,21 +15,12 @@ time = "*" log = "*" mime = "*" url = "*" +hyper = ">= 0.5.0" itertools = "*" serde = "*" serde_macros = "*" -[dependencies.hyper] -version = "*" -git = "https://github.com/hyperium/hyper" -rev = "871f37a5605d433e5699ed2f16631001d86d7805" - [dev-dependencies] getopts = "*" open = "*" - -[dev-dependencies.yup-hyper-mock] -version = "*" -git = "https://github.com/Byron/yup-hyper-mock" -rev = "ee56de4dead136b3ca5a3eda6ca7057f9074e261" - +yup-hyper-mock = ">= 1.0.0" diff --git a/src/lib.rs b/src/lib.rs index 876b1af..9f43bf3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,3 @@ -#![allow(deprecated)] //! This library can be used to acquire oauth2.0 authentication for services. //! At the time of writing, only one way of doing so is implemented, the [device flow](https://developers.google.com/youtube/v3/guides/authentication#devices), along with a flow //! for [refreshing tokens](https://developers.google.com/youtube/v3/guides/authentication#devices)