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)