summaryrefslogtreecommitdiffstats
path: root/bin/domain/imag-todo
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-01-11 22:22:26 +0100
committerMatthias Beyer <mail@beyermatthias.de>2018-01-12 13:33:40 +0100
commitbfc35e0517d1f2da4f33261b00cd654342bec2f5 (patch)
treea254b1fc70b93af742b03fe23cd2af7dc1bfbca1 /bin/domain/imag-todo
parent7fdc71230ef4b312f0dc525a98b5908b3b1e037e (diff)
Remove dependency "version"
Because the "version" crate is licensed as GPL, which would us require to release imag as GPL, we remove the crate now.
Diffstat (limited to 'bin/domain/imag-todo')
-rw-r--r--bin/domain/imag-todo/Cargo.toml1
-rw-r--r--bin/domain/imag-todo/src/main.rs3
2 files changed, 1 insertions, 3 deletions
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);