From 11344455b0629f989d8b78c27ed0e7d654fc74ef Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Fri, 17 Jul 2020 19:50:06 -0700 Subject: [PATCH] Update nitrokey dependency to 0.7.1 This change updates the nitrokey dependency we consume to 0.7.1. With this version the crate's Error type got reworked slightly, allowing it to implement Sync and Send. It furthermore no longer duplicates information available through the source() method in its Display implementation. Both these changes will enable us to switch over to using the anyhow crate for error handling in nitrocli in the future. --- CHANGELOG.md | 1 + Cargo.lock | 4 ++-- Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9e765b3..d92255d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ Unreleased ---------- - Changed default OTP format from `hex` to `base32` - Updated minimum required Rust version to `1.42.0` +- Bumped `nitrokey` dependency to `0.7.1` 0.3.3 diff --git a/Cargo.lock b/Cargo.lock index 5ee3c9f1..cb2bec3d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,9 +97,9 @@ dependencies = [ [[package]] name = "nitrokey" -version = "0.6.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1587c61144935958f74fb9111c9a369a23a2e5ad39476bde1750b7b8c0c87ac0" +checksum = "62ad51d978a97a526a3501ec6f6304bdd1b6446be1b0302759421f6269b6bc4a" dependencies = [ "lazy_static", "libc", diff --git a/Cargo.toml b/Cargo.toml index b5e5e5ca..548199bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,7 @@ version = "0.4.0" version = "0.2" [dependencies.nitrokey] -version = "0.6" +version = "0.7.1" [dependencies.structopt] version = "0.3.7"