From 4c81b3623739f49f5dd997343ec5ad22094efcc1 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 4 Feb 2017 10:51:23 +0100 Subject: [PATCH 1/9] Remove unused import in libimagentryfilter --- libimagentryfilter/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/libimagentryfilter/src/lib.rs b/libimagentryfilter/src/lib.rs index a481d125..ad99db60 100644 --- a/libimagentryfilter/src/lib.rs +++ b/libimagentryfilter/src/lib.rs @@ -32,8 +32,6 @@ while_true, )] -#[macro_use] extern crate log; - extern crate filters; extern crate itertools; extern crate regex; From a1b210fc1469b09aeeb7a5d3ebcad3752c9e5824 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 4 Feb 2017 11:02:44 +0100 Subject: [PATCH 2/9] Remove unused imports from libimaginteraction --- libimaginteraction/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libimaginteraction/src/lib.rs b/libimaginteraction/src/lib.rs index cb053f49..67c61cf4 100644 --- a/libimaginteraction/src/lib.rs +++ b/libimaginteraction/src/lib.rs @@ -33,7 +33,6 @@ extern crate spinner; extern crate interactor; -#[macro_use] extern crate log; extern crate ansi_term; #[macro_use] extern crate lazy_static; extern crate regex; @@ -43,7 +42,7 @@ extern crate rustyline; extern crate libimagentryfilter; extern crate libimagstore; -#[macro_use] extern crate libimagutil; +extern crate libimagutil; #[macro_use] extern crate libimagerror; pub mod ask; From 5c2f4fcccc9a15eb0d304282c7771e99dfc09ed1 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 4 Feb 2017 11:11:50 +0100 Subject: [PATCH 3/9] libimagrt: Remove unused imports --- libimagrt/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagrt/src/lib.rs b/libimagrt/src/lib.rs index e81b14f3..93dc23e4 100644 --- a/libimagrt/src/lib.rs +++ b/libimagrt/src/lib.rs @@ -34,7 +34,7 @@ )] #[macro_use] extern crate log; -#[macro_use] extern crate itertools; +extern crate itertools; #[cfg(unix)] extern crate xdg_basedir; extern crate env_logger; extern crate tempfile; From beae005356caaed7f23aceb0a6464a95de363e77 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 4 Feb 2017 11:15:58 +0100 Subject: [PATCH 4/9] imag-link: Remove macro_use which is not needed --- imag-link/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imag-link/src/main.rs b/imag-link/src/main.rs index 42928b28..d286a659 100644 --- a/imag-link/src/main.rs +++ b/imag-link/src/main.rs @@ -34,7 +34,7 @@ #[macro_use] extern crate log; extern crate clap; -#[macro_use] extern crate semver; +extern crate semver; extern crate toml; extern crate url; #[macro_use] extern crate version; From c959c1ed2708918f8bd4773c14d8cba43cf2f5bf Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 4 Feb 2017 11:18:58 +0100 Subject: [PATCH 5/9] Remove unused macro_use import --- libimagref/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagref/src/lib.rs b/libimagref/src/lib.rs index 402eac27..86c187d0 100644 --- a/libimagref/src/lib.rs +++ b/libimagref/src/lib.rs @@ -41,7 +41,7 @@ extern crate walkdir; #[macro_use] extern crate libimagstore; #[macro_use] extern crate libimagerror; -#[macro_use] extern crate libimagutil; +extern crate libimagutil; extern crate libimagentrylist; module_entry_path_mod!("ref"); From 0037ca666bfe909ce4011c4a3c974ce8a113332c Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 4 Feb 2017 11:26:53 +0100 Subject: [PATCH 6/9] Remove unused import of log crate --- libimagentrymarkdown/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/libimagentrymarkdown/src/lib.rs b/libimagentrymarkdown/src/lib.rs index d04680b7..2efc6094 100644 --- a/libimagentrymarkdown/src/lib.rs +++ b/libimagentrymarkdown/src/lib.rs @@ -31,7 +31,6 @@ while_true, )] -#[macro_use] extern crate log; extern crate crossbeam; extern crate hoedown; extern crate url; From 9a1a1e22c210acb426013567d97ca56bb6c73c82 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 4 Feb 2017 11:26:53 +0100 Subject: [PATCH 7/9] Remove unused import of log crate --- libimagentryview/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/libimagentryview/src/lib.rs b/libimagentryview/src/lib.rs index 788eb49c..55d58d6a 100644 --- a/libimagentryview/src/lib.rs +++ b/libimagentryview/src/lib.rs @@ -33,7 +33,6 @@ while_true, )] -#[macro_use] extern crate log; extern crate glob; extern crate toml; From 38672c51759c2d0f1a6a0dff4655bf731d382b16 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 4 Feb 2017 11:34:17 +0100 Subject: [PATCH 8/9] Remove unused macro_use import --- imag-view/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imag-view/src/main.rs b/imag-view/src/main.rs index b9f1d059..da20fa54 100644 --- a/imag-view/src/main.rs +++ b/imag-view/src/main.rs @@ -38,10 +38,10 @@ extern crate semver; extern crate toml; #[macro_use] extern crate version; +extern crate libimagentryview; +extern crate libimagerror; extern crate libimagrt; extern crate libimagstore; -extern crate libimagentryview; -#[macro_use] extern crate libimagerror; use std::process::exit; use std::path::PathBuf; From 2dc07c7295a601a64d6e011729ba10eba22a7a26 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 4 Feb 2017 11:39:38 +0100 Subject: [PATCH 9/9] Remove dependency on libimagerror, is not needed --- libimagtimeui/Cargo.toml | 3 --- libimagtimeui/src/lib.rs | 2 -- 2 files changed, 5 deletions(-) diff --git a/libimagtimeui/Cargo.toml b/libimagtimeui/Cargo.toml index 5d143889..9c910836 100644 --- a/libimagtimeui/Cargo.toml +++ b/libimagtimeui/Cargo.toml @@ -20,6 +20,3 @@ log = "0.3" chrono = "0.2" regex = "0.2" -[dependencies.libimagerror] -path = "../libimagerror" - diff --git a/libimagtimeui/src/lib.rs b/libimagtimeui/src/lib.rs index df9c4e47..b06bba78 100644 --- a/libimagtimeui/src/lib.rs +++ b/libimagtimeui/src/lib.rs @@ -37,8 +37,6 @@ extern crate regex; #[macro_use] extern crate lazy_static; #[macro_use] extern crate log; -#[macro_use] extern crate libimagerror; - pub mod cli; pub mod date; pub mod datetime;