summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-10-07 09:56:03 +0200
committerMatthias Beyer <mail@beyermatthias.de>2018-11-06 20:35:18 +0100
commit345970d36bdd2f43bee59d442b1d072f696ca1c0 (patch)
treeacf9860fb9f2e7cdc2904bacb32a3f254f78f0dd
parentf6483f54db37ce1ea612fec1d51d7735362129bd (diff)
downloadimag-345970d36bdd2f43bee59d442b1d072f696ca1c0.zip
imag-345970d36bdd2f43bee59d442b1d072f696ca1c0.tar.gz
Import new dependencies
Because of the changes in the "src/ui.rs" files in the binary implementations, we have new dependencies we need to import into the build-script of the "imag" command, so that it can build the commandline. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--bin/core/imag/Cargo.toml4
-rw-r--r--bin/core/imag/build.rs5
2 files changed, 9 insertions, 0 deletions
diff --git a/bin/core/imag/Cargo.toml b/bin/core/imag/Cargo.toml
index d40da6c..ba37bdf 100644
--- a/bin/core/imag/Cargo.toml
+++ b/bin/core/imag/Cargo.toml
@@ -18,8 +18,11 @@ build = "build.rs"
[build-dependencies]
clap = ">=2.16.1"
libimagrt = { version = "0.9.0", path = "../../../lib/core/libimagrt" }
+libimagerror = { version = "0.9.0", path = "../../../lib/core/libimagerror" }
+libimagstore = { version = "0.9.0", path = "../../../lib/core/libimagstore" }
libimagentrytag = { version = "0.9.0", path = "../../../lib/entry/libimagentrytag" }
libimagutil = { version = "0.9.0", path = "../../../lib/etc/libimagutil" }
+log = "0.4.0"
[badges]
travis-ci = { repository = "matthiasbeyer/imag" }
@@ -34,6 +37,7 @@ toml = "0.4"
toml-query = "0.7"
libimagerror = { version = "0.9.0", path = "../../../lib/core/libimagerror" }
+libimagstore = { version = "0.9.0", path = "../../../lib/core/libimagstore" }
[dependencies.clap]
version = "^2.29"
diff --git a/bin/core/imag/build.rs b/bin/core/imag/build.rs
index fe2766b..24bf628 100644
--- a/bin/core/imag/build.rs
+++ b/bin/core/imag/build.rs
@@ -19,7 +19,11 @@
extern crate clap;
#[macro_use]
+extern crate log;
+#[macro_use]
extern crate libimagrt;
+extern crate libimagerror;
+extern crate libimagstore;
extern crate libimagentrytag;
extern crate libimagutil;
@@ -45,6 +49,7 @@ mod toplevelbuildscript {
macro_rules! gen_mods_buildui {
($(($path:expr, $modulename:ident)$(,)*)*) => (
$(
+ #[allow(unused)]
mod $modulename {
include!($path);
}