fix(rustup): 1.1.0-nightly (97d4e76c2 2015-04-27)

Also incremented version
This commit is contained in:
Sebastian Thiel
2015-04-29 09:53:17 +02:00
parent 727c1d801b
commit 3ca51ccfe2
4 changed files with 8 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
[package]
name = "yup-oauth2"
version = "0.3.9"
version = "0.3.10"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
repository = "https://github.com/Byron/yup-oauth2"
description = "A partial oauth2 implementation, providing the 'device' authorization flow"
@@ -11,6 +11,7 @@ license = "MIT"
[dependencies]
chrono = "*"
time = "*"
hyper = "*"
log = "*"
mime = "*"

View File

@@ -1,4 +1,4 @@
#![feature(collections, std_misc, exit_status)]
#![feature(collections, exit_status)]
#![allow(deprecated)]
extern crate yup_oauth2 as oauth2;
extern crate yup_hyper_mock as mock;
@@ -6,13 +6,14 @@ extern crate hyper;
extern crate chrono;
extern crate getopts;
extern crate open;
extern crate time;
use oauth2::GetToken;
use chrono::{Local};
use getopts::{HasArg,Options,Occur,Fail};
use std::env;
use std::default::Default;
use std::time::Duration;
use time::Duration;
use std::thread::sleep_ms;

View File

@@ -1,5 +1,5 @@
use std::iter::IntoIterator;
use std::time::Duration;
use time::Duration;
use std::default::Default;
use std::fmt;
@@ -334,7 +334,7 @@ impl<C> DeviceFlow<C>
pub mod tests {
use super::*;
use std::default::Default;
use std::time::Duration;
use time::Duration;
use hyper;
mock_connector_in_order!(MockGoogleAuth {

View File

@@ -1,4 +1,3 @@
#![feature(std_misc)]
#![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
@@ -70,6 +69,7 @@ extern crate log;
extern crate yup_hyper_mock as hyper_mock;
extern crate mime;
extern crate url;
extern crate time;
extern crate itertools;
extern crate rustc_serialize as rustc_serialize;