From 3d1678daead26705b876ec7f1ad7305479c0225c Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 15 Mar 2015 11:34:03 +0100 Subject: [PATCH] fix(rustup): update to latest rustc rustc 1.0.0-nightly (3e4be02b8 2015-03-13) (built 2015-03-13) --- Cargo.toml | 2 +- examples/auth.rs | 3 ++- src/lib.rs | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7c9821e0e..99ea53947 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "yup-oauth2" -version = "0.2.2" +version = "0.2.3" authors = ["Sebastian Thiel "] repository = "https://github.com/Byron/yup-oauth2" description = "A partial oauth2 implementation, providing the 'device' authorization flow" diff --git a/examples/auth.rs b/examples/auth.rs index 84c712cc7..21e57db08 100644 --- a/examples/auth.rs +++ b/examples/auth.rs @@ -1,4 +1,5 @@ -#![feature(env, collections, old_io, std_misc)] +#![feature(collections, old_io, std_misc, exit_status)] +#![allow(deprecated)] extern crate "yup-oauth2" as oauth2; extern crate "yup-hyper-mock" as mock; extern crate hyper; diff --git a/src/lib.rs b/src/lib.rs index 645e65f01..69d5251cb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,5 @@ -#![feature(io, old_io, std_misc, core, hash)] +#![feature(old_io, std_misc, core, hash)] +#![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)