From a4c2c04c61a5de54a1f55b44c418b351b71697cc Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 26 Aug 2017 21:11:45 +0200 Subject: [PATCH] Use cargo feature to specify both version and path Thanks to reddit user /u/TimNN for suggesting this. --- .imag-documentation/Cargo.toml | 96 ++++++++------------------------ bin/Cargo.toml | 7 +-- imag-bookmark/Cargo.toml | 24 ++------ imag-counter/Cargo.toml | 16 ++---- imag-diary/Cargo.toml | 36 +++--------- imag-link/Cargo.toml | 22 +++----- imag-mail/Cargo.toml | 20 ++----- imag-notes/Cargo.toml | 24 ++------ imag-ref/Cargo.toml | 28 +++------- imag-store/Cargo.toml | 17 ++---- imag-tag/Cargo.toml | 30 ++++------ imag-timetrack/Cargo.toml | 20 ++----- imag-todo/Cargo.toml | 15 ++--- imag-view/Cargo.toml | 16 ++---- libimagannotation/Cargo.toml | 20 ++----- libimagbookmark/Cargo.toml | 11 +--- libimagcounter/Cargo.toml | 8 +-- libimagdiary/Cargo.toml | 24 ++------ libimagentrycategory/Cargo.toml | 7 +-- libimagentrydatetime/Cargo.toml | 11 +--- libimagentryedit/Cargo.toml | 16 ++---- libimagentryfilter/Cargo.toml | 8 +-- libimagentrylink/Cargo.toml | 12 +--- libimagentrylist/Cargo.toml | 12 +--- libimagentrymarkdown/Cargo.toml | 7 +-- libimagentrytag/Cargo.toml | 12 +--- libimagentrytimetrack/Cargo.toml | 16 ++---- libimagentryview/Cargo.toml | 16 ++---- libimaginteraction/Cargo.toml | 16 ++---- libimagmail/Cargo.toml | 12 +--- libimagnotes/Cargo.toml | 20 ++----- libimagref/Cargo.toml | 16 ++---- libimagrt/Cargo.toml | 12 +--- libimagstore/Cargo.toml | 7 +-- libimagtodo/Cargo.toml | 12 +--- 35 files changed, 168 insertions(+), 478 deletions(-) diff --git a/.imag-documentation/Cargo.toml b/.imag-documentation/Cargo.toml index 19437cc2..16466409 100644 --- a/.imag-documentation/Cargo.toml +++ b/.imag-documentation/Cargo.toml @@ -15,75 +15,27 @@ homepage = "http://imag-pim.org" [dependencies] -[dependencies.libimagannotation] -path = "../libimagannotation" - -[dependencies.libimagbookmark] -path = "../libimagbookmark" - -[dependencies.libimagcounter] -path = "../libimagcounter" - -[dependencies.libimagdiary] -path = "../libimagdiary" - -[dependencies.libimagentrycategory] -path = "../libimagentrycategory" - -[dependencies.libimagentrydatetime] -path = "../libimagentrydatetime" - -[dependencies.libimagentryedit] -path = "../libimagentryedit" - -[dependencies.libimagentryfilter] -path = "../libimagentryfilter" - -[dependencies.libimagentrylink] -path = "../libimagentrylink" - -[dependencies.libimagentrylist] -path = "../libimagentrylist" - -[dependencies.libimagentrymarkdown] -path = "../libimagentrymarkdown" - -[dependencies.libimagentrytag] -path = "../libimagentrytag" - -[dependencies.libimagentrytimetrack] -path = "../libimagentrytimetrack" - -[dependencies.libimagentryview] -path = "../libimagentryview" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimaginteraction] -path = "../libimaginteraction" - -[dependencies.libimagmail] -path = "../libimagmail" - -[dependencies.libimagnotes] -path = "../libimagnotes" - -[dependencies.libimagref] -path = "../libimagref" - -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagtimeui] -path = "../libimagtimeui" - -[dependencies.libimagtodo] -path = "../libimagtodo" - -[dependencies.libimagutil] -path = "../libimagutil" - +libimagannotation = { version = "0.4.0", path = "../libimagannotation" } +libimagbookmark = { version = "0.4.0", path = "../libimagbookmark" } +libimagcounter = { version = "0.4.0", path = "../libimagcounter" } +libimagdiary = { version = "0.4.0", path = "../libimagdiary" } +libimagentrycategory = { version = "0.4.0", path = "../libimagentrycategory" } +libimagentrydatetime = { version = "0.4.0", path = "../libimagentrydatetime" } +libimagentryedit = { version = "0.4.0", path = "../libimagentryedit" } +libimagentryfilter = { version = "0.4.0", path = "../libimagentryfilter" } +libimagentrylink = { version = "0.4.0", path = "../libimagentrylink" } +libimagentrylist = { version = "0.4.0", path = "../libimagentrylist" } +libimagentrymarkdown = { version = "0.4.0", path = "../libimagentrymarkdown" } +libimagentrytag = { version = "0.4.0", path = "../libimagentrytag" } +libimagentrytimetrack = { version = "0.4.0", path = "../libimagentrytimetrack" } +libimagentryview = { version = "0.4.0", path = "../libimagentryview" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimaginteraction = { version = "0.4.0", path = "../libimaginteraction" } +libimagmail = { version = "0.4.0", path = "../libimagmail" } +libimagnotes = { version = "0.4.0", path = "../libimagnotes" } +libimagref = { version = "0.4.0", path = "../libimagref" } +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagtimeui = { version = "0.4.0", path = "../libimagtimeui" } +libimagtodo = { version = "0.4.0", path = "../libimagtodo" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } diff --git a/bin/Cargo.toml b/bin/Cargo.toml index 67851c88..93cf139f 100644 --- a/bin/Cargo.toml +++ b/bin/Cargo.toml @@ -27,9 +27,6 @@ crossbeam = "0.2" clap = "2.*" log = "0.3" -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagerror] -path = "../libimagerror" +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } diff --git a/imag-bookmark/Cargo.toml b/imag-bookmark/Cargo.toml index b4b2bea3..6ea269c8 100644 --- a/imag-bookmark/Cargo.toml +++ b/imag-bookmark/Cargo.toml @@ -18,21 +18,9 @@ clap = ">=2.17" log = "0.3" version = "2.0.1" -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagutil] -path = "../libimagutil" - -[dependencies.libimagbookmark] -path = "../libimagbookmark" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagentrylink] -path = "../libimagentrylink" - -[dependencies.libimagentrytag] -path = "../libimagentrytag" - +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } +libimagbookmark = { version = "0.4.0", path = "../libimagbookmark" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagentrylink = { version = "0.4.0", path = "../libimagentrylink" } +libimagentrytag = { version = "0.4.0", path = "../libimagentrytag" } diff --git a/imag-counter/Cargo.toml b/imag-counter/Cargo.toml index cb1882e6..11f303f2 100644 --- a/imag-counter/Cargo.toml +++ b/imag-counter/Cargo.toml @@ -18,15 +18,7 @@ clap = ">=2.17" log = "0.3" version = "2.0.1" -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagutil] -path = "../libimagutil" - -[dependencies.libimagcounter] -path = "../libimagcounter" - +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } +libimagcounter = { version = "0.4.0", path = "../libimagcounter" } diff --git a/imag-diary/Cargo.toml b/imag-diary/Cargo.toml index e4d7f8e0..cb20c794 100644 --- a/imag-diary/Cargo.toml +++ b/imag-diary/Cargo.toml @@ -19,30 +19,12 @@ version = "2.0" clap = "2.*" log = "0.3" -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagdiary] -path = "../libimagdiary" - -[dependencies.libimagentryedit] -path = "../libimagentryedit" - -[dependencies.libimagentrylist] -path = "../libimagentrylist" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimaginteraction] -path = "../libimaginteraction" - -[dependencies.libimagutil] -path = "../libimagutil" - -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagtimeui] -path = "../libimagtimeui" - +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagdiary = { version = "0.4.0", path = "../libimagdiary" } +libimagentryedit = { version = "0.4.0", path = "../libimagentryedit" } +libimagentrylist = { version = "0.4.0", path = "../libimagentrylist" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimaginteraction = { version = "0.4.0", path = "../libimaginteraction" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagtimeui = { version = "0.4.0", path = "../libimagtimeui" } diff --git a/imag-link/Cargo.toml b/imag-link/Cargo.toml index f34ba406..a0abd315 100644 --- a/imag-link/Cargo.toml +++ b/imag-link/Cargo.toml @@ -22,23 +22,15 @@ toml = "^0.4" toml-query = "0.1" url = "1.2" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagentrylink] -path = "../libimagentrylink" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagutil] -path = "../libimagutil" +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagentrylink = { version = "0.4.0", path = "../libimagentrylink" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } [dev-dependencies.libimagutil] -path = "../libimagutil" +version = "0.4.0" +path = "../libimagutil" default-features = false features = ["testing"] diff --git a/imag-mail/Cargo.toml b/imag-mail/Cargo.toml index 8c372384..5d4123a4 100644 --- a/imag-mail/Cargo.toml +++ b/imag-mail/Cargo.toml @@ -17,18 +17,8 @@ version = "2.0.1" toml = "0.4.*" url = "1.2" -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagmail] -path = "../libimagmail" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagutil] -path = "../libimagutil" - -[dependencies.libimagref] -path = "../libimagref" - +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagmail = { version = "0.4.0", path = "../libimagmail" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } +libimagref = { version = "0.4.0", path = "../libimagref" } diff --git a/imag-notes/Cargo.toml b/imag-notes/Cargo.toml index 9bb55aa7..e3a056bd 100644 --- a/imag-notes/Cargo.toml +++ b/imag-notes/Cargo.toml @@ -20,21 +20,9 @@ log = "0.3" version = "2.0.1" itertools = "0.5" -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagnotes] -path = "../libimagnotes" - -[dependencies.libimagentryedit] -path = "../libimagentryedit" - -[dependencies.libimagentrytag] -path = "../libimagentrytag" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagutil] -path = "../libimagutil" - +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagnotes = { version = "0.4.0", path = "../libimagnotes" } +libimagentryedit = { version = "0.4.0", path = "../libimagentryedit" } +libimagentrytag = { version = "0.4.0", path = "../libimagentrytag" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } diff --git a/imag-ref/Cargo.toml b/imag-ref/Cargo.toml index 234821a2..27ef6701 100644 --- a/imag-ref/Cargo.toml +++ b/imag-ref/Cargo.toml @@ -19,24 +19,10 @@ clap = ">=2.17" log = "0.3" version = "2.0.1" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagref] -path = "../libimagref" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimaginteraction] -path = "../libimaginteraction" - -[dependencies.libimagentrylist] -path = "../libimagentrylist" - -[dependencies.libimagutil] -path = "../libimagutil" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagref = { version = "0.4.0", path = "../libimagref" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimaginteraction = { version = "0.4.0", path = "../libimaginteraction" } +libimagentrylist = { version = "0.4.0", path = "../libimagentrylist" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } diff --git a/imag-store/Cargo.toml b/imag-store/Cargo.toml index 71362dbc..59b5ad46 100644 --- a/imag-store/Cargo.toml +++ b/imag-store/Cargo.toml @@ -20,19 +20,10 @@ version = "2.0.1" semver = "0.5" toml = "^0.4" -[dependencies.libimagstore] -path = "../libimagstore" -default-features = false -features = ["verify"] - -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagutil] -path = "../libimagutil" - -[dependencies.libimagerror] -path = "../libimagerror" +libimagstore = { version = "0.4.0", path = "../libimagstore", default-features = false, features = ["verify"] } +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } [features] early-panic = [ "libimagstore/early-panic" ] diff --git a/imag-tag/Cargo.toml b/imag-tag/Cargo.toml index 899b62a1..3c9581d8 100644 --- a/imag-tag/Cargo.toml +++ b/imag-tag/Cargo.toml @@ -20,27 +20,19 @@ version = "2.0.1" semver = "0.2" toml = "^0.4" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagentrytag] -path = "../libimagentrytag" - -[dependencies.libimagutil] -path = "../libimagutil" - -[dev-dependencies.libimagutil] -path = "../libimagutil" -default-features = false -features = ["testing"] +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagentrytag = { version = "0.4.0", path = "../libimagentrytag" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } [dev-dependencies] toml-query = "0.3.0" env_logger = "0.3" +[dev-dependencies.libimagutil] +version = "0.4.0" +path = "../libimagutil" +default-features = false +features = ["testing"] + diff --git a/imag-timetrack/Cargo.toml b/imag-timetrack/Cargo.toml index 4ce30c07..9c38e5bc 100644 --- a/imag-timetrack/Cargo.toml +++ b/imag-timetrack/Cargo.toml @@ -23,18 +23,8 @@ chrono = "^0.4" filters = "0.1.1" itertools = "0.6" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagentrytimetrack] -path = "../libimagentrytimetrack" - -[dependencies.libimagutil] -path = "../libimagutil" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagentrytimetrack = { version = "0.4.0", path = "../libimagentrytimetrack" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } diff --git a/imag-todo/Cargo.toml b/imag-todo/Cargo.toml index 9fd2e87f..19ba431a 100644 --- a/imag-todo/Cargo.toml +++ b/imag-todo/Cargo.toml @@ -25,14 +25,7 @@ toml-query = "0.3.*" is-match = "0.1.*" version = "2.0.1" -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagtodo] -path = "../libimagtodo" - -[dependencies.libimagerror] -path = "../libimagerror" +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagtodo = { version = "0.4.0", path = "../libimagtodo" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } diff --git a/imag-view/Cargo.toml b/imag-view/Cargo.toml index 1c0c07d8..ed6ca69c 100644 --- a/imag-view/Cargo.toml +++ b/imag-view/Cargo.toml @@ -20,15 +20,7 @@ semver = "0.5" toml = "^0.4" version = "2.0.1" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagentryview] -path = "../libimagentryview" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagentryview = { version = "0.4.0", path = "../libimagentryview" } diff --git a/libimagannotation/Cargo.toml b/libimagannotation/Cargo.toml index cea0355e..f4e3a659 100644 --- a/libimagannotation/Cargo.toml +++ b/libimagannotation/Cargo.toml @@ -14,18 +14,8 @@ uuid = { version = "0.3.1", features = ["v4"] } lazy_static = "0.1.15" toml = "^0.4" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagnotes] -path = "../libimagnotes" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagentrylink] -path = "../libimagentrylink" - -[dependencies.libimagutil] -path = "../libimagutil" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagnotes = { version = "0.4.0", path = "../libimagnotes" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagentrylink = { version = "0.4.0", path = "../libimagentrylink" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } diff --git a/libimagbookmark/Cargo.toml b/libimagbookmark/Cargo.toml index b761f729..1f271e4b 100644 --- a/libimagbookmark/Cargo.toml +++ b/libimagbookmark/Cargo.toml @@ -18,12 +18,7 @@ semver = "0.5" url = "1.2" regex = "0.1" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagentrylink] -path = "../libimagentrylink" +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagentrylink = { version = "0.4.0", path = "../libimagentrylink" } diff --git a/libimagcounter/Cargo.toml b/libimagcounter/Cargo.toml index 8acf6190..ddc00880 100644 --- a/libimagcounter/Cargo.toml +++ b/libimagcounter/Cargo.toml @@ -19,9 +19,5 @@ toml = "0.4.*" toml-query = "0.3.*" semver = "0.5" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagerror] -path = "../libimagerror" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } diff --git a/libimagdiary/Cargo.toml b/libimagdiary/Cargo.toml index 68ef1527..2670b6b4 100644 --- a/libimagdiary/Cargo.toml +++ b/libimagdiary/Cargo.toml @@ -22,21 +22,9 @@ toml-query = "0.3.*" regex = "0.1" itertools = "0.5" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagutil] -path = "../libimagutil" - -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagentryedit] -path = "../libimagentryedit" - -[dependencies.libimagentryview] -path = "../libimagentryview" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagentryedit = { version = "0.4.0", path = "../libimagentryedit" } +libimagentryview = { version = "0.4.0", path = "../libimagentryview" } diff --git a/libimagentrycategory/Cargo.toml b/libimagentrycategory/Cargo.toml index 4a822ef1..6c8b9dfb 100644 --- a/libimagentrycategory/Cargo.toml +++ b/libimagentrycategory/Cargo.toml @@ -19,11 +19,8 @@ toml = "0.4" toml-query = "0.3" is-match = "0.1" -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagstore] -path = "../libimagstore" +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagstore = { version = "0.4.0", path = "../libimagstore" } [dev-dependencies] env_logger = "0.4" diff --git a/libimagentrydatetime/Cargo.toml b/libimagentrydatetime/Cargo.toml index 6f90fa0c..4885af11 100644 --- a/libimagentrydatetime/Cargo.toml +++ b/libimagentrydatetime/Cargo.toml @@ -19,14 +19,9 @@ toml-query = "0.3" lazy_static = "0.2" toml = "0.4" -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagutil] -path = "../libimagutil" +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } [dev-dependencies] is-match = "0.1" diff --git a/libimagentryedit/Cargo.toml b/libimagentryedit/Cargo.toml index 7c7375ad..56313daa 100644 --- a/libimagentryedit/Cargo.toml +++ b/libimagentryedit/Cargo.toml @@ -15,15 +15,7 @@ homepage = "http://imag-pim.org" [dependencies] -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagutil] -path = "../libimagutil" - +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } diff --git a/libimagentryfilter/Cargo.toml b/libimagentryfilter/Cargo.toml index fcbd2797..f20b33b6 100644 --- a/libimagentryfilter/Cargo.toml +++ b/libimagentryfilter/Cargo.toml @@ -22,9 +22,5 @@ regex = "0.2" semver = "0.5.*" toml = "^0.4" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagentrytag] -path = "../libimagentrytag" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagentrytag = { version = "0.4.0", path = "../libimagentrytag" } diff --git a/libimagentrylink/Cargo.toml b/libimagentrylink/Cargo.toml index 2e67b110..451a0eb9 100644 --- a/libimagentrylink/Cargo.toml +++ b/libimagentrylink/Cargo.toml @@ -23,12 +23,6 @@ rust-crypto = "0.2" env_logger = "0.3" is-match = "0.1" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagutil] -path = "../libimagutil" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } diff --git a/libimagentrylist/Cargo.toml b/libimagentrylist/Cargo.toml index a9535b24..832f68d9 100644 --- a/libimagentrylist/Cargo.toml +++ b/libimagentrylist/Cargo.toml @@ -19,12 +19,6 @@ log = "0.3" toml = "^0.4" prettytable-rs = "0.6.*" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagutil] -path = "../libimagutil" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } diff --git a/libimagentrymarkdown/Cargo.toml b/libimagentrymarkdown/Cargo.toml index 8a2e1666..4014d86c 100644 --- a/libimagentrymarkdown/Cargo.toml +++ b/libimagentrymarkdown/Cargo.toml @@ -19,9 +19,6 @@ hoedown = "5.0.0" crossbeam = "0.2" url = "1.2" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagerror] -path = "../libimagerror" +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } diff --git a/libimagentrytag/Cargo.toml b/libimagentrytag/Cargo.toml index 8944fc00..1c2cd472 100644 --- a/libimagentrytag/Cargo.toml +++ b/libimagentrytag/Cargo.toml @@ -22,12 +22,6 @@ itertools = "0.5" is-match = "0.1" filters = "0.1" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagutil] -path = "../libimagutil" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } diff --git a/libimagentrytimetrack/Cargo.toml b/libimagentrytimetrack/Cargo.toml index fcc9c7c3..578da442 100644 --- a/libimagentrytimetrack/Cargo.toml +++ b/libimagentrytimetrack/Cargo.toml @@ -21,15 +21,7 @@ toml-query = "0.3" lazy_static = "0.2" is-match = "0.1" -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagentrydatetime] -path = "../libimagentrydatetime" - -[dependencies.libimagentrytag] -path = "../libimagentrytag" - +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagentrydatetime = { version = "0.4.0", path = "../libimagentrydatetime" } +libimagentrytag = { version = "0.4.0", path = "../libimagentrytag" } diff --git a/libimagentryview/Cargo.toml b/libimagentryview/Cargo.toml index bc2acd1b..410d1cd7 100644 --- a/libimagentryview/Cargo.toml +++ b/libimagentryview/Cargo.toml @@ -18,15 +18,7 @@ log = "0.3" toml = "^0.4" glob = "0.2" -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagentryedit] -path = "../libimagentryedit" - +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagentryedit = { version = "0.4.0", path = "../libimagentryedit" } diff --git a/libimaginteraction/Cargo.toml b/libimaginteraction/Cargo.toml index ea65c286..150f8eb1 100644 --- a/libimaginteraction/Cargo.toml +++ b/libimaginteraction/Cargo.toml @@ -24,15 +24,7 @@ toml = "^0.4" spinner = "0.4" rustyline = "1.0" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagentryfilter] -path = "../libimagentryfilter" - -[dependencies.libimagutil] -path = "../libimagutil" - -[dependencies.libimagerror] -path = "../libimagerror" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagentryfilter = { version = "0.4.0", path = "../libimagentryfilter" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } diff --git a/libimagmail/Cargo.toml b/libimagmail/Cargo.toml index dc85c7a6..da7d9c85 100644 --- a/libimagmail/Cargo.toml +++ b/libimagmail/Cargo.toml @@ -20,12 +20,6 @@ semver = "0.5" toml = "0.4.*" filters = "0.1.*" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagref] -path = "../libimagref" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagref = { version = "0.4.0", path = "../libimagref" } diff --git a/libimagnotes/Cargo.toml b/libimagnotes/Cargo.toml index a63d4680..83aea7c1 100644 --- a/libimagnotes/Cargo.toml +++ b/libimagnotes/Cargo.toml @@ -18,18 +18,8 @@ semver = "0.5" log = "0.3" toml = "^0.4" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagrt] -path = "../libimagrt" - -[dependencies.libimagentryedit] -path = "../libimagentryedit" - -[dependencies.libimagentrytag] -path = "../libimagentrytag" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagrt = { version = "0.4.0", path = "../libimagrt" } +libimagentryedit = { version = "0.4.0", path = "../libimagentryedit" } +libimagentrytag = { version = "0.4.0", path = "../libimagentrytag" } diff --git a/libimagref/Cargo.toml b/libimagref/Cargo.toml index 84d7f034..50472519 100644 --- a/libimagref/Cargo.toml +++ b/libimagref/Cargo.toml @@ -22,15 +22,7 @@ toml = "^0.4" version = "2.0.1" walkdir = "1.0.*" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagutil] -path = "../libimagutil" - -[dependencies.libimagentrylist] -path = "../libimagentrylist" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } +libimagentrylist = { version = "0.4.0", path = "../libimagentrylist" } diff --git a/libimagrt/Cargo.toml b/libimagrt/Cargo.toml index 5439dccd..052b3117 100644 --- a/libimagrt/Cargo.toml +++ b/libimagrt/Cargo.toml @@ -24,12 +24,6 @@ tempfile = "2.1" ansi_term = "0.9" is-match = "0.1" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagutil] -path = "../libimagutil" - -[dependencies.libimagerror] -path = "../libimagerror" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } diff --git a/libimagstore/Cargo.toml b/libimagstore/Cargo.toml index 06c69c96..0e8ed33b 100644 --- a/libimagstore/Cargo.toml +++ b/libimagstore/Cargo.toml @@ -30,11 +30,8 @@ serde = "1.0" serde_json = "1.0" serde_derive = "1.0" -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagutil] -path = "../libimagutil" +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagutil = { version = "0.4.0", path = "../libimagutil" } [dev-dependencies] tempdir = "0.3.4" diff --git a/libimagtodo/Cargo.toml b/libimagtodo/Cargo.toml index ec63986e..706bc680 100644 --- a/libimagtodo/Cargo.toml +++ b/libimagtodo/Cargo.toml @@ -23,12 +23,6 @@ is-match = "0.1.*" log = "0.3" serde_json = "0.8" -[dependencies.libimagstore] -path = "../libimagstore" - -[dependencies.libimagerror] -path = "../libimagerror" - -[dependencies.libimagutil] -path = "../libimagutil" - +libimagstore = { version = "0.4.0", path = "../libimagstore" } +libimagerror = { version = "0.4.0", path = "../libimagerror" } +libimagutil = { version = "0.4.0", path = "../libimagutil" }