summaryrefslogtreecommitdiffstats
path: root/bin/domain
diff options
context:
space:
mode:
Diffstat (limited to 'bin/domain')
-rw-r--r--bin/domain/imag-bookmark/Cargo.toml1
-rw-r--r--bin/domain/imag-bookmark/src/main.rs3
-rw-r--r--bin/domain/imag-contact/Cargo.toml1
-rw-r--r--bin/domain/imag-contact/src/main.rs3
-rw-r--r--bin/domain/imag-diary/Cargo.toml1
-rw-r--r--bin/domain/imag-diary/src/main.rs3
-rw-r--r--bin/domain/imag-habit/Cargo.toml1
-rw-r--r--bin/domain/imag-habit/src/main.rs3
-rw-r--r--bin/domain/imag-log/Cargo.toml1
-rw-r--r--bin/domain/imag-log/src/main.rs3
-rw-r--r--bin/domain/imag-mail/Cargo.toml1
-rw-r--r--bin/domain/imag-mail/src/main.rs3
-rw-r--r--bin/domain/imag-notes/Cargo.toml1
-rw-r--r--bin/domain/imag-notes/src/main.rs3
-rw-r--r--bin/domain/imag-timetrack/Cargo.toml1
-rw-r--r--bin/domain/imag-timetrack/src/main.rs3
-rw-r--r--bin/domain/imag-todo/Cargo.toml1
-rw-r--r--bin/domain/imag-todo/src/main.rs3
18 files changed, 9 insertions, 27 deletions
diff --git a/bin/domain/imag-bookmark/Cargo.toml b/bin/domain/imag-bookmark/Cargo.toml
index e4dd8580..64974b36 100644
--- a/bin/domain/imag-bookmark/Cargo.toml
+++ b/bin/domain/imag-bookmark/Cargo.toml
@@ -22,7 +22,6 @@ maintenance = { status = "actively-developed" }
[dependencies]
clap = ">=2.17"
log = "0.3"
-version = "2.0.1"
toml = "0.4"
toml-query = "^0.4"
diff --git a/bin/domain/imag-bookmark/src/main.rs b/bin/domain/imag-bookmark/src/main.rs
index 7cfc8bb3..26263932 100644
--- a/bin/domain/imag-bookmark/src/main.rs
+++ b/bin/domain/imag-bookmark/src/main.rs
@@ -34,7 +34,6 @@
extern crate clap;
#[macro_use] extern crate log;
-#[macro_use] extern crate version;
extern crate toml;
extern crate toml_query;
@@ -62,7 +61,7 @@ use ui::build_ui;
fn main() {
let rt = generate_runtime_setup("imag-bookmark",
- &version!()[..],
+ env!("CARGO_PKG_VERSION"),
"Bookmark collection tool",
build_ui);
diff --git a/bin/domain/imag-contact/Cargo.toml b/bin/domain/imag-contact/Cargo.toml
index de6b4434..09f2a9fd 100644
--- a/bin/domain/imag-contact/Cargo.toml
+++ b/bin/domain/imag-contact/Cargo.toml
@@ -16,7 +16,6 @@ homepage = "http://imag-pim.org"
[dependencies]
clap = ">=2.17"
log = "0.3"
-version = "2.0.1"
toml = "0.4"
toml-query = "^0.3.1"
handlebars = "0.29"
diff --git a/bin/domain/imag-contact/src/main.rs b/bin/domain/imag-contact/src/main.rs
index 505ef918..412ae256 100644
--- a/bin/domain/imag-contact/src/main.rs
+++ b/bin/domain/imag-contact/src/main.rs
@@ -34,7 +34,6 @@
extern crate clap;
#[macro_use] extern crate log;
-#[macro_use] extern crate version;
#[macro_use] extern crate vobject;
extern crate toml;
extern crate toml_query;
@@ -81,7 +80,7 @@ use create::create;
fn main() {
let rt = generate_runtime_setup("imag-contact",
- &version!()[..],
+ env!("CARGO_PKG_VERSION"),
"Contact management tool",
build_ui);
diff --git a/bin/domain/imag-diary/Cargo.toml b/bin/domain/imag-diary/Cargo.toml
index 7570a07e..136b618d 100644
--- a/bin/domain/imag-diary/Cargo.toml
+++ b/bin/domain/imag-diary/Cargo.toml
@@ -21,7 +21,6 @@ maintenance = { status = "actively-developed" }
[dependencies]
chrono = "0.4"
-version = "2.0"
clap = ">=2.17"
log = "0.3"
toml = "0.4"
diff --git a/bin/domain/imag-diary/src/main.rs b/bin/domain/imag-diary/src/main.rs
index 4502185f..7c13967b 100644
--- a/bin/domain/imag-diary/src/main.rs
+++ b/bin/domain/imag-diary/src/main.rs
@@ -33,7 +33,6 @@
)]
#[macro_use] extern crate log;
-#[macro_use] extern crate version;
extern crate clap;
extern crate chrono;
extern crate toml;
@@ -70,7 +69,7 @@ use view::view;
fn main() {
let name = "imag-diary";
- let version = &version!()[..];
+ let version = env!("CARGO_PKG_VERSION");
let about = "Personal Diary/Diaries";
let ui = build_ui(Runtime::get_default_cli_builder(name, version, about));
let rt = {
diff --git a/bin/domain/imag-habit/Cargo.toml b/bin/domain/imag-habit/Cargo.toml
index 6c575d11..28ab4c7b 100644
--- a/bin/domain/imag-habit/Cargo.toml
+++ b/bin/domain/imag-habit/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "http://imag-pim.org"
[dependencies]
chrono = "0.4"
-version = "2.0"
clap = ">=2.17"
log = "0.3"
toml = "0.4"
diff --git a/bin/domain/imag-habit/src/main.rs b/bin/domain/imag-habit/src/main.rs
index 8de4753f..02ee8866 100644
--- a/bin/domain/imag-habit/src/main.rs
+++ b/bin/domain/imag-habit/src/main.rs
@@ -34,7 +34,6 @@
extern crate clap;
#[macro_use] extern crate log;
-#[macro_use] extern crate version;
extern crate toml;
extern crate toml_query;
extern crate kairos;
@@ -67,7 +66,7 @@ mod ui;
fn main() {
let rt = generate_runtime_setup("imag-habit",
- &version!()[..],
+ env!("CARGO_PKG_VERSION"),
"Habit tracking tool",
ui::build_ui);
diff --git a/bin/domain/imag-log/Cargo.toml b/bin/domain/imag-log/Cargo.toml
index 5c7a89ee..c698acdd 100644
--- a/bin/domain/imag-log/Cargo.toml
+++ b/bin/domain/imag-log/Cargo.toml
@@ -22,7 +22,6 @@ maintenance = { status = "actively-developed" }
[dependencies]
clap = ">=2.17"
log = "0.3"
-version = "2.0.1"
toml = "0.4"
toml-query = "^0.4"
is-match = "0.1"
diff --git a/bin/domain/imag-log/src/main.rs b/bin/domain/imag-log/src/main.rs
index 99f917f8..a4b143bb 100644
--- a/bin/domain/imag-log/src/main.rs
+++ b/bin/domain/imag-log/src/main.rs
@@ -35,7 +35,6 @@
extern crate clap;
#[macro_use] extern crate is_match;
#[macro_use] extern crate log;
-#[macro_use] extern crate version;
extern crate toml;
extern crate toml_query;
@@ -58,7 +57,7 @@ use toml::Value;
fn main() {
let rt = generate_runtime_setup("imag-log",
- &version!()[..],
+ env!("CARGO_PKG_VERSION"),
"Overlay to imag-diary to 'log' single lines of text",
build_ui);
diff --git a/bin/domain/imag-mail/Cargo.toml b/bin/domain/imag-mail/Cargo.toml
index 0de2c005..4666164c 100644
--- a/bin/domain/imag-mail/Cargo.toml
+++ b/bin/domain/imag-mail/Cargo.toml
@@ -18,7 +18,6 @@ maintenance = { status = "actively-developed" }
[dependencies]
clap = ">=2.17"
log = "0.3"
-version = "2.0.1"
libimagrt = { version = "0.6.0", path = "../../../lib/core/libimagrt" }
libimagerror = { version = "0.6.0", path = "../../../lib/core/libimagerror" }
diff --git a/bin/domain/imag-mail/src/main.rs b/bin/domain/imag-mail/src/main.rs
index 7987e281..fde1a7c9 100644
--- a/bin/domain/imag-mail/src/main.rs
+++ b/bin/domain/imag-mail/src/main.rs
@@ -19,7 +19,6 @@
extern crate clap;
#[macro_use] extern crate log;
-#[macro_use] extern crate version;
extern crate libimagrt;
extern crate libimagmail;
@@ -38,7 +37,7 @@ use ui::build_ui;
fn main() {
let rt = generate_runtime_setup("imag-mail",
- &version!()[..],
+ env!("CARGO_PKG_VERSION"),
"Mail collection tool",
build_ui);
diff --git a/bin/domain/imag-notes/Cargo.toml b/bin/domain/imag-notes/Cargo.toml
index 879bc6d3..a9b64461 100644
--- a/bin/domain/imag-notes/Cargo.toml
+++ b/bin/domain/imag-notes/Cargo.toml
@@ -22,7 +22,6 @@ maintenance = { status = "actively-developed" }
[dependencies]
clap = ">=2.17"
log = "0.3"
-version = "2.0.1"
itertools = "0.7"
libimagrt = { version = "0.6.0", path = "../../../lib/core/libimagrt" }
diff --git a/bin/domain/imag-notes/src/main.rs b/bin/domain/imag-notes/src/main.rs
index 8f22596b..e3234393 100644
--- a/bin/domain/imag-notes/src/main.rs
+++ b/bin/domain/imag-notes/src/main.rs
@@ -19,7 +19,6 @@
extern crate clap;
#[macro_use] extern crate log;
-#[macro_use] extern crate version;
extern crate itertools;
extern crate libimagnotes;
@@ -45,7 +44,7 @@ use ui::build_ui;
fn main() {
let rt = generate_runtime_setup("imag-notes",
- &version!()[..],
+ env!("CARGO_PKG_VERSION"),
"Note taking helper",
build_ui);
diff --git a/bin/domain/imag-timetrack/Cargo.toml b/bin/domain/imag-timetrack/Cargo.toml
index a221b560..462d16ac 100644
--- a/bin/domain/imag-timetrack/Cargo.toml
+++ b/bin/domain/imag-timetrack/Cargo.toml
@@ -22,7 +22,6 @@ maintenance = { status = "actively-developed" }
[dependencies]
clap = ">=2.17"
log = "0.3"
-version = "2.0.1"
chrono = "0.4"
filters = "0.2"
itertools = "0.7"
diff --git a/bin/domain/imag-timetrack/src/main.rs b/bin/domain/imag-timetrack/src/main.rs
index 85e270a6..cdfd979d 100644
--- a/bin/domain/imag-timetrack/src/main.rs
+++ b/bin/domain/imag-timetrack/src/main.rs
@@ -21,7 +21,6 @@
extern crate log;
#[macro_use]
-extern crate version;
extern crate clap;
extern crate chrono;
@@ -59,7 +58,7 @@ use libimagrt::setup::generate_runtime_setup;
fn main() {
let rt = generate_runtime_setup("imag-timetrack",
- &version!()[..],
+ env!("CARGO_PKG_VERSION"),
"Time tracking module",
build_ui);
diff --git a/bin/domain/imag-todo/Cargo.toml b/bin/domain/imag-todo/Cargo.toml
index 1a0649e9..548122a6 100644
--- a/bin/domain/imag-todo/Cargo.toml
+++ b/bin/domain/imag-todo/Cargo.toml
@@ -25,7 +25,6 @@ log = "0.3"
toml = "0.4"
toml-query = "^0.4"
is-match = "0.1"
-version = "2.0.1"
libimagrt = { version = "0.6.0", path = "../../../lib/core/libimagrt" }
libimagerror = { version = "0.6.0", path = "../../../lib/core/libimagerror" }
diff --git a/bin/domain/imag-todo/src/main.rs b/bin/domain/imag-todo/src/main.rs
index 20ad60e4..06e68550 100644
--- a/bin/domain/imag-todo/src/main.rs
+++ b/bin/domain/imag-todo/src/main.rs
@@ -22,7 +22,6 @@ extern crate clap;
extern crate toml;
extern crate toml_query;
#[macro_use] extern crate is_match;
-#[macro_use] extern crate version;
extern crate libimagrt;
extern crate libimagerror;
@@ -43,7 +42,7 @@ mod ui;
use ui::build_ui;
fn main() {
let rt = generate_runtime_setup("imag-todo",
- &version!()[..],
+ env!("CARGO_PKG_VERSION"),
"Interface with taskwarrior",
build_ui);