Bump MSRV to 1.81 (#582)

This is required due to the `hybrid-array` crate, which has become a
transitive dependency of the majority of our dependencies and will be
required in the very near future.
This commit is contained in:
Jack Grigg
2024-11-26 07:58:24 +13:00
committed by GitHub
parent 0a90dc3ca8
commit 32cd92af50
13 changed files with 50 additions and 64 deletions
+2 -8
View File
@@ -66,10 +66,7 @@ impl<'tx> Transaction<'tx> {
.p1(0x04)
.data(piv::APPLET_ID)
.transmit(self, 0xFF)
.map_err(|e| {
error!("failed communicating with card: '{}'", e);
e
})?;
.inspect_err(|e| error!("failed communicating with card: '{}'", e))?;
if !response.is_success() {
error!(
@@ -335,10 +332,7 @@ impl<'tx> Transaction<'tx> {
let response = self
.transfer_data(&templ, &indata[..offset], 1024)
.map_err(|e| {
error!("sign command failed to communicate: {}", e);
e
})?;
.inspect_err(|e| error!("sign command failed to communicate: {}", e))?;
if !response.is_success() {
error!("failed sign command with code {:x}", response.code());