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; 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; 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; 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; 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; 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; 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"); 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; 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;