summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-grep/src
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/core/imag-grep/src
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/core/imag-grep/src')
-rw-r--r--bin/core/imag-grep/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/core/imag-grep/src/main.rs b/bin/core/imag-grep/src/main.rs
index 33cad496..6e92b601 100644
--- a/bin/core/imag-grep/src/main.rs
+++ b/bin/core/imag-grep/src/main.rs
@@ -34,7 +34,6 @@
extern crate clap;
extern crate regex;
-#[macro_use] extern crate version;
extern crate libimagstore;
extern crate libimagrt;
@@ -56,7 +55,7 @@ struct Options {
fn main() {
let rt = generate_runtime_setup("imag-grep",
- &version!()[..],
+ env!("CARGO_PKG_VERSION"),
"grep through entries text",
ui::build_ui);