diff --git a/CHANGELOG.md b/CHANGELOG.md index 1953588..f4ef44e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# pcsc 2.7.0 (2022-02-15) + +* Added `Card::transaction2()`, which is like `Card::transaction()`, but + also returns the `&mut self` on error. Without it is is difficult + (impossible) to encapsulate a retry-loop of trying to acquire a + transaction in a function, at least until some borrow-checker + improvements end our woes. + + Contributed by Neal H. Walfield. + # pcsc 2.6.0 (2021-08-24) * Un-deprecated the `pcsc::Status` type. It was previously disabled due to diff --git a/Cargo.lock b/Cargo.lock index ce51534..392a4f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12,7 +12,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "pcsc" -version = "2.6.0" +version = "2.7.0" dependencies = [ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "pcsc-sys 1.2.0", diff --git a/pcsc/Cargo.toml b/pcsc/Cargo.toml index b0b9c7d..75b03ce 100644 --- a/pcsc/Cargo.toml +++ b/pcsc/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pcsc" description = "Bindings to the PC/SC API for smart card communication" -version = "2.6.0" +version = "2.7.0" license = "MIT" keywords = ["pcsc", "smartcard"] categories = ["hardware-support", "api-bindings"]