From df88d39cd9c7b254057ee80dad5367313f2bb87f Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Mon, 10 Dec 2018 20:56:24 -0800 Subject: Specify version requirements in a less strict manner We try to adhere to the Semantic Versioning convention and expect dependent crates to do the same. So far we have been fairly strict in terms of the specific versions we consume, specifying the full version triple (x.y.z). This change loosens that stance by only specifying the minor version requirement of dependencies, not the patch level (i.e., x.y). --- nitrocli/Cargo.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nitrocli/Cargo.toml b/nitrocli/Cargo.toml index c102734..741bf3c 100644 --- a/nitrocli/Cargo.toml +++ b/nitrocli/Cargo.toml @@ -31,23 +31,23 @@ A command line tool for interacting with the Nitrokey Storage device. """ [dependencies.cc] -version = "1.0.4" +version = "1.0" path = "../cc" [dependencies.hid] -version = "0.4.1" +version = "0.4" path = "../hid" [dependencies.hidapi-sys] -version = "0.1.4" +version = "0.1" path = "../hidapi-sys" [dependencies.libc] -version = "0.2.36" +version = "0.2" path = "../libc" [dependencies.pkg-config] -version = "0.3.9" +version = "0.3" path = "../pkg-config" [replace] -- cgit v1.2.3