diff --git a/examples/drive_example/src/main.rs b/examples/drive_example/src/main.rs index 1cb8180..d14ee52 100644 --- a/examples/drive_example/src/main.rs +++ b/examples/drive_example/src/main.rs @@ -6,11 +6,6 @@ //! //! Copyright (c) 2016 Google, Inc. (Lewin Bormann ) -extern crate hyper; -extern crate hyper_native_tls; -extern crate yup_oauth2; -extern crate google_drive3; - use std::path::Path; use hyper::net::HttpsConnector; diff --git a/examples/service_account/src/main.rs b/examples/service_account/src/main.rs index 99afa4a..486dbfc 100644 --- a/examples/service_account/src/main.rs +++ b/examples/service_account/src/main.rs @@ -24,9 +24,6 @@ //! //! Copyright (c) 2016 Google, Inc. (Lewin Bormann ) //! -extern crate base64; -extern crate hyper; -extern crate hyper_native_tls; use std::env; use std::time; diff --git a/src/installed.rs b/src/installed.rs index 7109114..07b4695 100644 --- a/src/installed.rs +++ b/src/installed.rs @@ -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; diff --git a/src/lib.rs b/src/lib.rs index 1df80b1..12d5e46 100644 --- a/src/lib.rs +++ b/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; diff --git a/src/storage.rs b/src/storage.rs index 673ec4b..770d8bd 100644 --- a/src/storage.rs +++ b/src/storage.rs @@ -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;