summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-12-16 19:12:56 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-12-16 20:27:28 +0100
commitff4d51ad5b1732d508e955c565fbd2e2baad2ff9 (patch)
tree34eb299725062fb675dc6afdcf702f90e12ff146
parent41cdc1f7091a3c442241dbb2379c50dbcc7e9c5f (diff)
downloadnitrokey-rs-ff4d51ad5b1732d508e955c565fbd2e2baad2ff9.tar.gz
nitrokey-rs-ff4d51ad5b1732d508e955c565fbd2e2baad2ff9.tar.bz2
Update the nitrokey-sys version specification to ~3.4
Previously, we required nitrokey-sys version 3.4, which allows the upgrade to nitrokey-sys 3.5. Unfortunately, libnitrokey version 3.5, which is packaged as nitrokey-sys 3.5, introduced breaking changes, breaking the semantic versioning guarantees and causing compilation errors if this version is selected. This patch changes the version specification from 3.4 to ~3.4, i. e. >= 3.4.0, < 3.5.0, to make sure that nitrokey-rs can be compiled without errors.
-rw-r--r--CHANGELOG.md3
-rw-r--r--Cargo.toml2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index edc33f6..61cdf13 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,6 @@
+# Unreleased
+- Update the nitrokey-sys dependency version specification to ~3.4.
+
# v0.3.4 (2019-01-20)
- Fix authentication methods that assumed that `char` is signed.
diff --git a/Cargo.toml b/Cargo.toml
index 838ab45..2db9326 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -18,7 +18,7 @@ test-storage = []
[dependencies]
libc = "0.2"
-nitrokey-sys = "3.4"
+nitrokey-sys = "~3.4"
rand_core = {version = "0.3", default-features = false}
rand_os = {version = "0.1"}