mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-01-02 09:26:16 +01:00
chore(syntax): Remove extern crate imports where not needed
This commit is contained in:
@@ -6,11 +6,6 @@
|
||||
//!
|
||||
//! Copyright (c) 2016 Google, Inc. (Lewin Bormann <lbo@spheniscida.de>)
|
||||
|
||||
extern crate hyper;
|
||||
extern crate hyper_native_tls;
|
||||
extern crate yup_oauth2;
|
||||
extern crate google_drive3;
|
||||
|
||||
use std::path::Path;
|
||||
|
||||
use hyper::net::HttpsConnector;
|
||||
|
||||
@@ -24,9 +24,6 @@
|
||||
//!
|
||||
//! Copyright (c) 2016 Google, Inc. (Lewin Bormann <lbo@spheniscida.de>)
|
||||
//!
|
||||
extern crate base64;
|
||||
extern crate hyper;
|
||||
extern crate hyper_native_tls;
|
||||
|
||||
use std::env;
|
||||
use std::time;
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
//
|
||||
// Refer to the project root for licensing information.
|
||||
//
|
||||
extern crate serde_json;
|
||||
extern crate url;
|
||||
|
||||
use std::convert::AsRef;
|
||||
use std::error::Error;
|
||||
use std::io;
|
||||
|
||||
15
src/lib.rs
15
src/lib.rs
@@ -65,24 +65,9 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
extern crate serde;
|
||||
extern crate serde_json;
|
||||
|
||||
extern crate base64;
|
||||
extern crate chrono;
|
||||
extern crate hyper;
|
||||
extern crate hyper_tls;
|
||||
|
||||
#[cfg(test)]
|
||||
extern crate log;
|
||||
#[cfg(test)]
|
||||
#[macro_use]
|
||||
extern crate yup_hyper_mock as hyper_mock;
|
||||
extern crate itertools;
|
||||
#[cfg(test)]
|
||||
extern crate tokio;
|
||||
extern crate tokio_threadpool;
|
||||
extern crate url;
|
||||
|
||||
mod authenticator;
|
||||
mod authenticator_delegate;
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
// See project root for licensing information.
|
||||
//
|
||||
|
||||
extern crate serde_json;
|
||||
|
||||
use std::collections::hash_map::DefaultHasher;
|
||||
use std::collections::HashMap;
|
||||
use std::error::Error;
|
||||
|
||||
Reference in New Issue
Block a user