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/domain/imag-log | |
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/domain/imag-log')
-rw-r--r-- | bin/domain/imag-log/Cargo.toml | 1 | ||||
-rw-r--r-- | bin/domain/imag-log/src/main.rs | 3 |
2 files changed, 1 insertions, 3 deletions
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); |