diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-01-11 22:22:26 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-01-12 13:33:40 +0100 |
commit | bfc35e0517d1f2da4f33261b00cd654342bec2f5 (patch) | |
tree | a254b1fc70b93af742b03fe23cd2af7dc1bfbca1 /bin/core/imag-annotate | |
parent | 7fdc71230ef4b312f0dc525a98b5908b3b1e037e (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-annotate')
-rw-r--r-- | bin/core/imag-annotate/Cargo.toml | 1 | ||||
-rw-r--r-- | bin/core/imag-annotate/src/main.rs | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/bin/core/imag-annotate/Cargo.toml b/bin/core/imag-annotate/Cargo.toml index ff03e342..ccdb1d06 100644 --- a/bin/core/imag-annotate/Cargo.toml +++ b/bin/core/imag-annotate/Cargo.toml @@ -22,7 +22,6 @@ maintenance = { status = "actively-developed" } [dependencies] clap = ">=2.17" log = "0.3" -version = "2.0.1" url = "1.2" toml = "0.4" toml-query = "0.4" diff --git a/bin/core/imag-annotate/src/main.rs b/bin/core/imag-annotate/src/main.rs index dd2c68e1..94cbd48a 100644 --- a/bin/core/imag-annotate/src/main.rs +++ b/bin/core/imag-annotate/src/main.rs @@ -35,8 +35,6 @@ extern crate clap; #[macro_use] extern crate log; -#[macro_use] -extern crate version; extern crate libimagentryannotation; extern crate libimagentryedit; @@ -62,7 +60,7 @@ mod ui; fn main() { let rt = generate_runtime_setup("imag-annotation", - &version!()[..], + env!("CARGO_PKG_VERSION"), "Add annotations to entries", ui::build_ui); |