mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Fix duplication of oauth2 definition
This commit is contained in:
committed by
Sebastian Thiel
parent
861a9d8281
commit
5a1a7b1fb2
@@ -46,7 +46,6 @@ extern crate serde_derive;
|
||||
extern crate hyper;
|
||||
extern crate serde;
|
||||
extern crate serde_json;
|
||||
extern crate yup_oauth2 as oauth2;
|
||||
extern crate mime;
|
||||
extern crate url;
|
||||
|
||||
@@ -57,4 +56,4 @@ pub mod client;
|
||||
pub use api::${hub_type};
|
||||
pub use client::{Result, Error, Delegate};
|
||||
// Re-export the yup_oauth2 crate, that is required to call some methods of the hub and the client
|
||||
pub use oauth2;
|
||||
pub extern crate yup_oauth2 as oauth2;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use clap::{App, SubCommand};
|
||||
use mime::Mime;
|
||||
use oauth2::{ApplicationSecret, ConsoleApplicationSecret};
|
||||
use crate::oauth2::{ApplicationSecret, ConsoleApplicationSecret};
|
||||
use serde_json as json;
|
||||
use serde_json::value::Value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user