summaryrefslogtreecommitdiff
path: root/bin/core/imag-store
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-01-31 11:09:00 +0100
committerMatthias Beyer <mail@beyermatthias.de>2018-02-13 11:38:34 +0100
commit9469693763fe95be3d07a14d89cd473192646bd5 (patch)
tree445f739895b6d32db1ea32fcc29741e9df4d8c8a /bin/core/imag-store
parentf5f4fbc397320e808a503ae040c64635968d57b3 (diff)
downloadimag-9469693763fe95be3d07a14d89cd473192646bd5.zip
imag-9469693763fe95be3d07a14d89cd473192646bd5.tar.gz
Use new make_imag_version!() macro for building version string
Diffstat (limited to 'bin/core/imag-store')
-rw-r--r--bin/core/imag-store/Cargo.toml2
-rw-r--r--bin/core/imag-store/src/main.rs5
2 files changed, 5 insertions, 2 deletions
diff --git a/bin/core/imag-store/Cargo.toml b/bin/core/imag-store/Cargo.toml
index 39d3db4..db74694 100644
--- a/bin/core/imag-store/Cargo.toml
+++ b/bin/core/imag-store/Cargo.toml
@@ -13,6 +13,8 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+build = "../../../build.rs"
+
[badges]
travis-ci = { repository = "matthiasbeyer/imag" }
is-it-maintained-issue-resolution = { repository = "matthiasbeyer/imag" }
diff --git a/bin/core/imag-store/src/main.rs b/bin/core/imag-store/src/main.rs
index bbcb326..2b16b04 100644
--- a/bin/core/imag-store/src/main.rs
+++ b/bin/core/imag-store/src/main.rs
@@ -38,7 +38,7 @@ extern crate toml;
#[cfg(test)] extern crate toml_query;
#[macro_use] extern crate error_chain;
-extern crate libimagrt;
+#[macro_use] extern crate libimagrt;
extern crate libimagstore;
extern crate libimagerror;
@@ -76,8 +76,9 @@ use verify::verify;
use ids::ids;
fn main() {
+ let version = make_imag_version!();
let mut rt = generate_runtime_setup("imag-store",
- env!("CARGO_PKG_VERSION"),
+ &version,
"Direct interface to the store. Use with great care!",
build_ui);