Skip to content

Commit

Permalink
fix(rustup): 1.1.0-nightly (97d4e76c2 2015-04-27)
Browse files Browse the repository at this point in the history
Also incremented version
  • Loading branch information
Byron committed Apr 29, 2015
1 parent 727c1d8 commit 3ca51cc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -11,6 +11,7 @@ license = "MIT"

[dependencies]
chrono = "*"
time = "*"
hyper = "*"
log = "*"
mime = "*"
Expand Down
5 changes: 3 additions & 2 deletions examples/auth.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
#![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;
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;


Expand Down
4 changes: 2 additions & 2 deletions src/device.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::iter::IntoIterator;
use std::time::Duration;
use time::Duration;
use std::default::Default;
use std::fmt;

Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 3ca51cc

Please sign in to comment.