summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-08-26 21:11:45 +0200
committerMatthias Beyer <mail@beyermatthias.de>2017-08-27 11:25:43 +0200
commita4c2c04c61a5de54a1f55b44c418b351b71697cc (patch)
treecbe394265fc796b183dacb90461e73f809fd197c
parent6ef03cda0898231f3c57416ad5e52868b01c6db5 (diff)
downloadimag-a4c2c04c61a5de54a1f55b44c418b351b71697cc.zip
imag-a4c2c04c61a5de54a1f55b44c418b351b71697cc.tar.gz
Use cargo feature to specify both version and path
Thanks to reddit user /u/TimNN for suggesting this.
-rw-r--r--.imag-documentation/Cargo.toml96
-rw-r--r--bin/Cargo.toml7
-rw-r--r--imag-bookmark/Cargo.toml24
-rw-r--r--imag-counter/Cargo.toml16
-rw-r--r--imag-diary/Cargo.toml36
-rw-r--r--imag-link/Cargo.toml22
-rw-r--r--imag-mail/Cargo.toml20
-rw-r--r--imag-notes/Cargo.toml24
-rw-r--r--imag-ref/Cargo.toml28
-rw-r--r--imag-store/Cargo.toml17
-rw-r--r--imag-tag/Cargo.toml28
-rw-r--r--imag-timetrack/Cargo.toml20
-rw-r--r--imag-todo/Cargo.toml15
-rw-r--r--imag-view/Cargo.toml16
-rw-r--r--libimagannotation/Cargo.toml20
-rw-r--r--libimagbookmark/Cargo.toml11
-rw-r--r--libimagcounter/Cargo.toml8
-rw-r--r--libimagdiary/Cargo.toml24
-rw-r--r--libimagentrycategory/Cargo.toml7
-rw-r--r--libimagentrydatetime/Cargo.toml11
-rw-r--r--libimagentryedit/Cargo.toml16
-rw-r--r--libimagentryfilter/Cargo.toml8
-rw-r--r--libimagentrylink/Cargo.toml12
-rw-r--r--libimagentrylist/Cargo.toml12
-rw-r--r--libimagentrymarkdown/Cargo.toml7
-rw-r--r--libimagentrytag/Cargo.toml12
-rw-r--r--libimagentrytimetrack/Cargo.toml16
-rw-r--r--libimagentryview/Cargo.toml16
-rw-r--r--libimaginteraction/Cargo.toml16
-rw-r--r--libimagmail/Cargo.toml12
-rw-r--r--libimagnotes/Cargo.toml20
-rw-r--r--libimagref/Cargo.toml16
-rw-r--r--libimagrt/Cargo.toml12
-rw-r--r--libimagstore/Cargo.toml7
-rw-r--r--libimagtodo/Cargo.toml12
35 files changed, 167 insertions, 477 deletions
diff --git a/.imag-documentation/Cargo.toml b/.imag-documentation/Cargo.toml
index 19437cc..1646640 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 67851c8..93cf139 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 b4b2bea..6ea269c 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 cb1882e..11f303f 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 e4d7f8e..cb20c79 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 f34ba40..a0abd31 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 8c37238..5d4123a 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 9bb55aa..e3a056b 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 234821a..27ef670 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 71362db..59b5ad4 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 899b62a..3c9581d 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"
+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" }
-[dependencies.libimagrt]
-path = "../libimagrt"
-
-[dependencies.libimagerror]
-path = "../libimagerror"
-
-[dependencies.libimagentrytag]
-path = "../libimagentrytag"
-
-[dependencies.libimagutil]
-path = "../libimagutil"
+[dev-dependencies]
+toml-query = "0.3.0"
+env_logger = "0.3"
[dev-dependencies.libimagutil]
-path = "../libimagutil"
+version = "0.4.0"
+path = "../libimagutil"
default-features = false
features = ["testing"]
-[dev-dependencies]
-toml-query = "0.3.0"
-env_logger = "0.3"
-
diff --git a/imag-timetrack/Cargo.toml b/imag-timetrack/Cargo.toml
index 4ce30c0..9c38e5b 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 9fd2e87..19ba431 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 1c0c07d..ed6ca69 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 cea0355..f4e3a65 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 b761f72..1f271e4 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 8acf619..ddc0088 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 68ef152..2670b6b 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 4a822ef..6c8b9df 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 6f90fa0..4885af1 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 7c7375a..56313da 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 fcbd279..f20b33b 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 2e67b11..451a0eb 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 a9535b2..832f68d 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 8a2e166..4014d86 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 8944fc0..1c2cd47 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 fcc9c7c..578da44 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 bc2acd1..410d1cd 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 ea65c28..150f8eb 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 dc85c7a..da7d9c8 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 a63d468..83aea7c 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 84d7f03..5047251 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 5439dcc..052b311 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 06c69c9..0e8ed33 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 ec63986..706bc68 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" }