summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-02-04 11:52:53 +0100
committerGitHub <noreply@github.com>2017-02-04 11:52:53 +0100
commit6585677d3147d338b271fb6477ea324694fa5454 (patch)
tree3b7ebb0604c2585e73b29f1646f898a61f680449
parent15b356773f7536dabc8346f79d9887016188e4b1 (diff)
parent2dc07c7295a601a64d6e011729ba10eba22a7a26 (diff)
downloadimag-6585677d3147d338b271fb6477ea324694fa5454.zip
imag-6585677d3147d338b271fb6477ea324694fa5454.tar.gz
Merge pull request #887 from matthiasbeyer/libimagentryfilter/remove-unused-import
Remove unused imports
-rw-r--r--imag-link/src/main.rs2
-rw-r--r--imag-view/src/main.rs4
-rw-r--r--libimagentryfilter/src/lib.rs2
-rw-r--r--libimagentrymarkdown/src/lib.rs1
-rw-r--r--libimagentryview/src/lib.rs1
-rw-r--r--libimaginteraction/src/lib.rs3
-rw-r--r--libimagref/src/lib.rs2
-rw-r--r--libimagrt/src/lib.rs2
-rw-r--r--libimagtimeui/Cargo.toml3
-rw-r--r--libimagtimeui/src/lib.rs2
10 files changed, 6 insertions, 16 deletions
diff --git a/imag-link/src/main.rs b/imag-link/src/main.rs
index 42928b2..d286a65 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 b9f1d05..da20fa5 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 a481d12..ad99db6 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 d04680b..2efc609 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 788eb49..55d58d6 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 cb053f4..67c61cf 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 402eac2..86c187d 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 e81b14f..93dc23e 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 5d14388..9c91083 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 df9c4e4..b06bba7 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;