From ff4d51ad5b1732d508e955c565fbd2e2baad2ff9 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 16 Dec 2019 19:12:56 +0000 Subject: 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. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') 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"} -- cgit v1.2.1