diff --git a/lib/core/libimagstore/Cargo.toml b/lib/core/libimagstore/Cargo.toml index 0fce876d..cba27897 100644 --- a/lib/core/libimagstore/Cargo.toml +++ b/lib/core/libimagstore/Cargo.toml @@ -33,6 +33,7 @@ serde = "1" serde_json = "1" serde_derive = "1" error-chain = "0.11" +toml-query = "0.4" libimagerror = { version = "0.5.0", path = "../../../lib/core/libimagerror" } libimagutil = { version = "0.5.0", path = "../../../lib/etc/libimagutil" } diff --git a/lib/core/libimagstore/src/error.rs b/lib/core/libimagstore/src/error.rs index fec24d9e..f04b2617 100644 --- a/lib/core/libimagstore/src/error.rs +++ b/lib/core/libimagstore/src/error.rs @@ -30,6 +30,7 @@ error_chain! { Io(::std::io::Error); TomlDeserError(::toml::de::Error); GlobPatternError(::glob::PatternError); + TomlQueryError(::toml_query::error::Error); } errors { diff --git a/lib/core/libimagstore/src/lib.rs b/lib/core/libimagstore/src/lib.rs index 3b665a5e..4ce4ccfb 100644 --- a/lib/core/libimagstore/src/lib.rs +++ b/lib/core/libimagstore/src/lib.rs @@ -48,6 +48,7 @@ extern crate walkdir; extern crate serde_json; #[macro_use] extern crate serde_derive; #[macro_use] extern crate error_chain; +extern crate toml_query; extern crate libimagerror; extern crate libimagutil;