From 11d881d3a903a60bdefb8da838be27b0afb2d79e Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 31 Aug 2017 21:37:52 +0200 Subject: [PATCH] Add dependency to crates: error_chain = 0.10 --- bin/core/imag-store/Cargo.toml | 1 + bin/core/imag-store/src/main.rs | 1 + lib/core/libimagrt/Cargo.toml | 1 + lib/core/libimagrt/src/lib.rs | 1 + lib/core/libimagstore/Cargo.toml | 1 + lib/core/libimagstore/src/lib.rs | 1 + lib/domain/libimagbookmark/Cargo.toml | 1 + lib/domain/libimagbookmark/src/lib.rs | 1 + lib/domain/libimagcounter/Cargo.toml | 1 + lib/domain/libimagcounter/src/lib.rs | 1 + lib/domain/libimagdiary/Cargo.toml | 1 + lib/domain/libimagdiary/src/lib.rs | 1 + lib/domain/libimagmail/Cargo.toml | 1 + lib/domain/libimagmail/src/lib.rs | 1 + lib/domain/libimagnotes/Cargo.toml | 1 + lib/domain/libimagnotes/src/lib.rs | 1 + lib/domain/libimagtimetrack/Cargo.toml | 1 + lib/domain/libimagtimetrack/src/lib.rs | 1 + lib/domain/libimagtodo/Cargo.toml | 1 + lib/domain/libimagtodo/src/lib.rs | 1 + lib/entry/libimagentryannotation/Cargo.toml | 1 + lib/entry/libimagentryannotation/src/lib.rs | 1 + lib/entry/libimagentrycategory/Cargo.toml | 1 + lib/entry/libimagentrycategory/src/lib.rs | 1 + lib/entry/libimagentrydatetime/Cargo.toml | 1 + lib/entry/libimagentrydatetime/src/lib.rs | 1 + lib/entry/libimagentryedit/Cargo.toml | 1 + lib/entry/libimagentryedit/src/lib.rs | 1 + lib/entry/libimagentrylink/Cargo.toml | 1 + lib/entry/libimagentrylink/src/lib.rs | 1 + lib/entry/libimagentrylist/Cargo.toml | 1 + lib/entry/libimagentrylist/src/lib.rs | 1 + lib/entry/libimagentrymarkdown/Cargo.toml | 1 + lib/entry/libimagentrymarkdown/src/lib.rs | 1 + lib/entry/libimagentryref/Cargo.toml | 1 + lib/entry/libimagentryref/src/lib.rs | 1 + lib/entry/libimagentrytag/Cargo.toml | 1 + lib/entry/libimagentrytag/src/lib.rs | 1 + lib/entry/libimagentryview/Cargo.toml | 1 + lib/entry/libimagentryview/src/lib.rs | 1 + lib/etc/libimaginteraction/Cargo.toml | 1 + lib/etc/libimaginteraction/src/lib.rs | 1 + 42 files changed, 42 insertions(+) diff --git a/bin/core/imag-store/Cargo.toml b/bin/core/imag-store/Cargo.toml index a3715a61..be5b1521 100644 --- a/bin/core/imag-store/Cargo.toml +++ b/bin/core/imag-store/Cargo.toml @@ -18,6 +18,7 @@ clap = ">=2.17" log = "0.3" version = "2.0.1" toml = "^0.4" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore", features = ["verify"] } libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" } diff --git a/bin/core/imag-store/src/main.rs b/bin/core/imag-store/src/main.rs index 9e5c5267..45212628 100644 --- a/bin/core/imag-store/src/main.rs +++ b/bin/core/imag-store/src/main.rs @@ -36,6 +36,7 @@ extern crate clap; #[macro_use] extern crate log; extern crate toml; #[macro_use] extern crate version; +#[macro_use] extern crate error_chain; extern crate libimagrt; extern crate libimagstore; diff --git a/lib/core/libimagrt/Cargo.toml b/lib/core/libimagrt/Cargo.toml index 1cdd8cc4..90b2dcbd 100644 --- a/lib/core/libimagrt/Cargo.toml +++ b/lib/core/libimagrt/Cargo.toml @@ -23,6 +23,7 @@ itertools = "0.5" ansi_term = "0.9" is-match = "0.1" toml-query = "0.3.0" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/core/libimagrt/src/lib.rs b/lib/core/libimagrt/src/lib.rs index ce0e08c1..876c26ef 100644 --- a/lib/core/libimagrt/src/lib.rs +++ b/lib/core/libimagrt/src/lib.rs @@ -34,6 +34,7 @@ )] #[macro_use] extern crate log; +#[macro_use] extern crate error_chain; extern crate itertools; #[cfg(unix)] extern crate xdg_basedir; extern crate env_logger; diff --git a/lib/core/libimagstore/Cargo.toml b/lib/core/libimagstore/Cargo.toml index 589d2bf1..94af976e 100644 --- a/lib/core/libimagstore/Cargo.toml +++ b/lib/core/libimagstore/Cargo.toml @@ -26,6 +26,7 @@ is-match = "0.1" serde = "1.0" serde_json = "1.0" serde_derive = "1.0" +error-chain = "0.10" libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } libimagutil = { version = "0.4.0", path = "../../../lib/etc/libimagutil" } diff --git a/lib/core/libimagstore/src/lib.rs b/lib/core/libimagstore/src/lib.rs index 96147ef2..756d4c13 100644 --- a/lib/core/libimagstore/src/lib.rs +++ b/lib/core/libimagstore/src/lib.rs @@ -45,6 +45,7 @@ extern crate walkdir; #[macro_use] extern crate is_match; extern crate serde_json; #[macro_use] extern crate serde_derive; +#[macro_use] extern crate error_chain; #[macro_use] extern crate libimagerror; extern crate libimagutil; diff --git a/lib/domain/libimagbookmark/Cargo.toml b/lib/domain/libimagbookmark/Cargo.toml index 8c3da73c..179cff7f 100644 --- a/lib/domain/libimagbookmark/Cargo.toml +++ b/lib/domain/libimagbookmark/Cargo.toml @@ -16,6 +16,7 @@ homepage = "http://imag-pim.org" [dependencies] url = "1.2" regex = "0.1" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/domain/libimagbookmark/src/lib.rs b/lib/domain/libimagbookmark/src/lib.rs index 0a864121..45400e59 100644 --- a/lib/domain/libimagbookmark/src/lib.rs +++ b/lib/domain/libimagbookmark/src/lib.rs @@ -35,6 +35,7 @@ extern crate url; extern crate regex; +#[macro_use] extern crate error_chain; #[macro_use] extern crate libimagstore; #[macro_use] extern crate libimagerror; diff --git a/lib/domain/libimagcounter/Cargo.toml b/lib/domain/libimagcounter/Cargo.toml index 16d5e1b4..c6c61abb 100644 --- a/lib/domain/libimagcounter/Cargo.toml +++ b/lib/domain/libimagcounter/Cargo.toml @@ -17,6 +17,7 @@ homepage = "http://imag-pim.org" log = "0.3" toml = "0.4.*" toml-query = "0.3.*" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/domain/libimagcounter/src/lib.rs b/lib/domain/libimagcounter/src/lib.rs index cbbd043c..3952047c 100644 --- a/lib/domain/libimagcounter/src/lib.rs +++ b/lib/domain/libimagcounter/src/lib.rs @@ -36,6 +36,7 @@ extern crate toml; extern crate toml_query; #[macro_use] extern crate log; +#[macro_use] extern crate error_chain; #[macro_use] extern crate libimagstore; #[macro_use] extern crate libimagerror; diff --git a/lib/domain/libimagdiary/Cargo.toml b/lib/domain/libimagdiary/Cargo.toml index bdd65d36..55a5fce4 100644 --- a/lib/domain/libimagdiary/Cargo.toml +++ b/lib/domain/libimagdiary/Cargo.toml @@ -19,6 +19,7 @@ log = "0.3" toml = "0.4.*" toml-query = "0.3.*" itertools = "0.5" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/domain/libimagdiary/src/lib.rs b/lib/domain/libimagdiary/src/lib.rs index ca54f902..62ce9c29 100644 --- a/lib/domain/libimagdiary/src/lib.rs +++ b/lib/domain/libimagdiary/src/lib.rs @@ -38,6 +38,7 @@ extern crate chrono; extern crate toml; extern crate toml_query; extern crate itertools; +#[macro_use] extern crate error_chain; #[macro_use] extern crate libimagstore; #[macro_use] extern crate libimagerror; diff --git a/lib/domain/libimagmail/Cargo.toml b/lib/domain/libimagmail/Cargo.toml index ccfb6c53..f1c67aa3 100644 --- a/lib/domain/libimagmail/Cargo.toml +++ b/lib/domain/libimagmail/Cargo.toml @@ -17,6 +17,7 @@ homepage = "http://imag-pim.org" log = "0.3" email = "0.0.17" filters = "0.1.*" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/domain/libimagmail/src/lib.rs b/lib/domain/libimagmail/src/lib.rs index 14200eaf..c2462fac 100644 --- a/lib/domain/libimagmail/src/lib.rs +++ b/lib/domain/libimagmail/src/lib.rs @@ -36,6 +36,7 @@ #[macro_use] extern crate log; extern crate email; extern crate filters; +#[macro_use] extern crate error_chain; #[macro_use] extern crate libimagerror; extern crate libimagstore; diff --git a/lib/domain/libimagnotes/Cargo.toml b/lib/domain/libimagnotes/Cargo.toml index 6cb7526a..d9f05e75 100644 --- a/lib/domain/libimagnotes/Cargo.toml +++ b/lib/domain/libimagnotes/Cargo.toml @@ -17,6 +17,7 @@ homepage = "http://imag-pim.org" log = "0.3" toml = "^0.4" toml-query = "0.3.0" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/domain/libimagnotes/src/lib.rs b/lib/domain/libimagnotes/src/lib.rs index 699701ac..3fd229c9 100644 --- a/lib/domain/libimagnotes/src/lib.rs +++ b/lib/domain/libimagnotes/src/lib.rs @@ -36,6 +36,7 @@ #[macro_use] extern crate log; extern crate toml; extern crate toml_query; +#[macro_use] extern crate error_chain; extern crate libimagrt; #[macro_use] extern crate libimagstore; diff --git a/lib/domain/libimagtimetrack/Cargo.toml b/lib/domain/libimagtimetrack/Cargo.toml index 6b29fa95..8660b85f 100644 --- a/lib/domain/libimagtimetrack/Cargo.toml +++ b/lib/domain/libimagtimetrack/Cargo.toml @@ -20,6 +20,7 @@ toml = "0.4" toml-query = "0.3" lazy_static = "0.2" is-match = "0.1" +error-chain = "0.10" libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } diff --git a/lib/domain/libimagtimetrack/src/lib.rs b/lib/domain/libimagtimetrack/src/lib.rs index 0e92d2e8..ea39f6b2 100644 --- a/lib/domain/libimagtimetrack/src/lib.rs +++ b/lib/domain/libimagtimetrack/src/lib.rs @@ -41,6 +41,7 @@ extern crate toml_query; extern crate lazy_static; #[macro_use] extern crate is_match; +#[macro_use] extern crate error_chain; #[macro_use] extern crate libimagerror; diff --git a/lib/domain/libimagtodo/Cargo.toml b/lib/domain/libimagtodo/Cargo.toml index 656b4d5f..a1f6e435 100644 --- a/lib/domain/libimagtodo/Cargo.toml +++ b/lib/domain/libimagtodo/Cargo.toml @@ -20,6 +20,7 @@ toml = "0.4.*" toml-query = "0.3.*" log = "0.3" serde_json = "0.8" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/domain/libimagtodo/src/lib.rs b/lib/domain/libimagtodo/src/lib.rs index 7961a7a1..b09257b1 100644 --- a/lib/domain/libimagtodo/src/lib.rs +++ b/lib/domain/libimagtodo/src/lib.rs @@ -38,6 +38,7 @@ extern crate toml; extern crate toml_query; #[macro_use] extern crate log; extern crate serde_json; +#[macro_use] extern crate error_chain; #[macro_use] extern crate libimagstore; #[macro_use] extern crate libimagerror; diff --git a/lib/entry/libimagentryannotation/Cargo.toml b/lib/entry/libimagentryannotation/Cargo.toml index d4720dc4..ec992855 100644 --- a/lib/entry/libimagentryannotation/Cargo.toml +++ b/lib/entry/libimagentryannotation/Cargo.toml @@ -13,6 +13,7 @@ license = "LGPL-2.1" lazy_static = "0.1.15" toml = "^0.4" toml-query = "0.3.0" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/entry/libimagentryannotation/src/lib.rs b/lib/entry/libimagentryannotation/src/lib.rs index 5b784de4..9e37a866 100644 --- a/lib/entry/libimagentryannotation/src/lib.rs +++ b/lib/entry/libimagentryannotation/src/lib.rs @@ -35,6 +35,7 @@ extern crate toml; extern crate toml_query; +#[macro_use] extern crate error_chain; #[macro_use] extern crate libimagerror; extern crate libimagstore; diff --git a/lib/entry/libimagentrycategory/Cargo.toml b/lib/entry/libimagentrycategory/Cargo.toml index e7e54feb..428dcd48 100644 --- a/lib/entry/libimagentrycategory/Cargo.toml +++ b/lib/entry/libimagentrycategory/Cargo.toml @@ -18,6 +18,7 @@ log = "0.3" toml = "0.4" toml-query = "0.3" is-match = "0.1" +error-chain = "0.10" libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } diff --git a/lib/entry/libimagentrycategory/src/lib.rs b/lib/entry/libimagentrycategory/src/lib.rs index c2b4daae..a88feace 100644 --- a/lib/entry/libimagentrycategory/src/lib.rs +++ b/lib/entry/libimagentrycategory/src/lib.rs @@ -39,6 +39,7 @@ extern crate toml; extern crate is_match; #[macro_use] extern crate log; +#[macro_use] extern crate error_chain; #[macro_use] extern crate libimagerror; diff --git a/lib/entry/libimagentrydatetime/Cargo.toml b/lib/entry/libimagentrydatetime/Cargo.toml index 15df2055..c2dc483b 100644 --- a/lib/entry/libimagentrydatetime/Cargo.toml +++ b/lib/entry/libimagentrydatetime/Cargo.toml @@ -18,6 +18,7 @@ chrono = "0.4" toml-query = "0.3" lazy_static = "0.2" toml = "0.4" +error-chain = "0.10" libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } diff --git a/lib/entry/libimagentrydatetime/src/lib.rs b/lib/entry/libimagentrydatetime/src/lib.rs index 06cf6f22..d59e0056 100644 --- a/lib/entry/libimagentrydatetime/src/lib.rs +++ b/lib/entry/libimagentrydatetime/src/lib.rs @@ -37,6 +37,7 @@ extern crate chrono; extern crate toml_query; extern crate toml; +#[macro_use] extern crate error_chain; #[macro_use] extern crate libimagerror; extern crate libimagstore; diff --git a/lib/entry/libimagentryedit/Cargo.toml b/lib/entry/libimagentryedit/Cargo.toml index 98087aa6..f9857133 100644 --- a/lib/entry/libimagentryedit/Cargo.toml +++ b/lib/entry/libimagentryedit/Cargo.toml @@ -14,6 +14,7 @@ repository = "https://github.com/matthiasbeyer/imag" homepage = "http://imag-pim.org" [dependencies] +error-chain = "0.10" libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" } diff --git a/lib/entry/libimagentryedit/src/lib.rs b/lib/entry/libimagentryedit/src/lib.rs index 9d9187cd..ab706c77 100644 --- a/lib/entry/libimagentryedit/src/lib.rs +++ b/lib/entry/libimagentryedit/src/lib.rs @@ -37,6 +37,7 @@ extern crate libimagstore; extern crate libimagrt; extern crate libimagutil; +#[macro_use] extern crate error_chain; pub mod edit; pub mod error; diff --git a/lib/entry/libimagentrylink/Cargo.toml b/lib/entry/libimagentrylink/Cargo.toml index 5487c344..ba071fe3 100644 --- a/lib/entry/libimagentrylink/Cargo.toml +++ b/lib/entry/libimagentrylink/Cargo.toml @@ -22,6 +22,7 @@ rust-crypto = "0.2" env_logger = "0.3" is-match = "0.1" toml-query = "0.3.0" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/entry/libimagentrylink/src/lib.rs b/lib/entry/libimagentrylink/src/lib.rs index 4df88cc7..94313f98 100644 --- a/lib/entry/libimagentrylink/src/lib.rs +++ b/lib/entry/libimagentrylink/src/lib.rs @@ -40,6 +40,7 @@ extern crate toml_query; extern crate url; extern crate crypto; #[macro_use] extern crate is_match; +#[macro_use] extern crate error_chain; #[cfg(test)] extern crate env_logger; diff --git a/lib/entry/libimagentrylist/Cargo.toml b/lib/entry/libimagentrylist/Cargo.toml index 9775dc41..7746d216 100644 --- a/lib/entry/libimagentrylist/Cargo.toml +++ b/lib/entry/libimagentrylist/Cargo.toml @@ -17,6 +17,7 @@ homepage = "http://imag-pim.org" clap = ">=2.17" log = "0.3" prettytable-rs = "0.6.*" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/entry/libimagentrylist/src/lib.rs b/lib/entry/libimagentrylist/src/lib.rs index 8fb0186e..73f01d44 100644 --- a/lib/entry/libimagentrylist/src/lib.rs +++ b/lib/entry/libimagentrylist/src/lib.rs @@ -36,6 +36,7 @@ extern crate clap; #[macro_use] extern crate log; extern crate prettytable; +#[macro_use] extern crate error_chain; extern crate libimagstore; extern crate libimagutil; diff --git a/lib/entry/libimagentrymarkdown/Cargo.toml b/lib/entry/libimagentrymarkdown/Cargo.toml index 5f8364fe..3b962eac 100644 --- a/lib/entry/libimagentrymarkdown/Cargo.toml +++ b/lib/entry/libimagentrymarkdown/Cargo.toml @@ -17,6 +17,7 @@ homepage = "http://imag-pim.org" log = "0.3" hoedown = "5.0.0" url = "1.2" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/entry/libimagentrymarkdown/src/lib.rs b/lib/entry/libimagentrymarkdown/src/lib.rs index 4cd31d0a..e2c05cd1 100644 --- a/lib/entry/libimagentrymarkdown/src/lib.rs +++ b/lib/entry/libimagentrymarkdown/src/lib.rs @@ -37,6 +37,7 @@ extern crate hoedown; extern crate url; extern crate libimagstore; #[macro_use] extern crate libimagerror; +#[macro_use] extern crate error_chain; pub mod error; pub mod html; diff --git a/lib/entry/libimagentryref/Cargo.toml b/lib/entry/libimagentryref/Cargo.toml index 842c5535..983de732 100644 --- a/lib/entry/libimagentryref/Cargo.toml +++ b/lib/entry/libimagentryref/Cargo.toml @@ -20,6 +20,7 @@ rust-crypto = "0.2" toml = "^0.4" walkdir = "1.0.*" toml-query = "0.3.0" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/entry/libimagentryref/src/lib.rs b/lib/entry/libimagentryref/src/lib.rs index 17cbe112..5a96c79b 100644 --- a/lib/entry/libimagentryref/src/lib.rs +++ b/lib/entry/libimagentryref/src/lib.rs @@ -43,6 +43,7 @@ extern crate walkdir; #[macro_use] extern crate libimagstore; #[macro_use] extern crate libimagerror; extern crate libimagentrylist; +#[macro_use] extern crate error_chain; module_entry_path_mod!("ref"); diff --git a/lib/entry/libimagentrytag/Cargo.toml b/lib/entry/libimagentrytag/Cargo.toml index e80aeed6..c9e3d099 100644 --- a/lib/entry/libimagentrytag/Cargo.toml +++ b/lib/entry/libimagentrytag/Cargo.toml @@ -22,6 +22,7 @@ itertools = "0.5" is-match = "0.1" filters = "0.1" toml-query = "0.3.0" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/entry/libimagentrytag/src/lib.rs b/lib/entry/libimagentrytag/src/lib.rs index 4c1fdcb3..ea9c2e71 100644 --- a/lib/entry/libimagentrytag/src/lib.rs +++ b/lib/entry/libimagentrytag/src/lib.rs @@ -41,6 +41,7 @@ extern crate toml; extern crate toml_query; #[macro_use] extern crate is_match; extern crate filters; +#[macro_use] extern crate error_chain; extern crate libimagstore; #[macro_use] extern crate libimagerror; diff --git a/lib/entry/libimagentryview/Cargo.toml b/lib/entry/libimagentryview/Cargo.toml index 42536398..315958a4 100644 --- a/lib/entry/libimagentryview/Cargo.toml +++ b/lib/entry/libimagentryview/Cargo.toml @@ -16,6 +16,7 @@ homepage = "http://imag-pim.org" [dependencies] log = "0.3" toml = "^0.4" +error-chain = "0.10" libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" } libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } diff --git a/lib/entry/libimagentryview/src/lib.rs b/lib/entry/libimagentryview/src/lib.rs index 1aefc2eb..dc5a4f0e 100644 --- a/lib/entry/libimagentryview/src/lib.rs +++ b/lib/entry/libimagentryview/src/lib.rs @@ -34,6 +34,7 @@ )] extern crate toml; +#[macro_use] extern crate error_chain; extern crate libimagstore; extern crate libimagrt; diff --git a/lib/etc/libimaginteraction/Cargo.toml b/lib/etc/libimaginteraction/Cargo.toml index a72de4af..c409e9b8 100644 --- a/lib/etc/libimaginteraction/Cargo.toml +++ b/lib/etc/libimaginteraction/Cargo.toml @@ -21,6 +21,7 @@ lazy_static = "0.2.*" log = "0.3" regex = "0.2" toml = "^0.4" +error-chain = "0.10" libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" } libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" } diff --git a/lib/etc/libimaginteraction/src/lib.rs b/lib/etc/libimaginteraction/src/lib.rs index cd38071a..be0926aa 100644 --- a/lib/etc/libimaginteraction/src/lib.rs +++ b/lib/etc/libimaginteraction/src/lib.rs @@ -39,6 +39,7 @@ extern crate ansi_term; extern crate regex; extern crate clap; extern crate toml; +#[macro_use] extern crate error_chain; extern crate libimagstore; #[macro_use] extern crate libimagerror;