aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-06 19:27:58 +0200
committerRobin Krahl <robin.krahl@ireas.org>2020-09-06 19:27:58 +0200
commit8062dfb7b4b974798bd8b957e01bb5143e4acc09 (patch)
tree3d526ae1a59170f25fee8fcbce9eee5c5bdbb356
parentc2a12ff793a0366cefc3d6a917a16f07ff0aadc7 (diff)
downloadnitrokey-rs-8062dfb7b4b974798bd8b957e01bb5143e4acc09.tar.gz
nitrokey-rs-8062dfb7b4b974798bd8b957e01bb5143e4acc09.tar.bz2
Bump the MSRV to 1.40.0
In a previous commit, we used the non_exhaustive attribute to mark some enums as non-exhaustive. This attribute was stabilized in Rust version 1.40.0, so we have to increase our minimum supported Rust version.
-rw-r--r--.builds/archlinux-msrv.yml2
-rw-r--r--CHANGELOG.md1
-rw-r--r--README.md2
3 files changed, 3 insertions, 2 deletions
diff --git a/.builds/archlinux-msrv.yml b/.builds/archlinux-msrv.yml
index 66c0390..b98a5dc 100644
--- a/.builds/archlinux-msrv.yml
+++ b/.builds/archlinux-msrv.yml
@@ -11,7 +11,7 @@ sources:
tasks:
- setup: |
rustup set profile minimal
- rustup default 1.34.2
+ rustup default 1.40.0
- version: |
rustc -V
- build: |
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 80efb57..d2d35cc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,7 @@ SPDX-License-Identifier: CC0-1.0
- Export the `FirmwareVersion` struct.
- Mark the `Error`, `CommandError`, `CommunicationError`, `LibraryError`,
`Model` and `DeviceWrapper` enums as non-exhaustive.
+ - Bump the MSRV to 1.40.0.
# v0.7.1 (2020-08-30)
- Remove the custom `std::error::Error::source` implementation for
diff --git a/README.md b/README.md
index 95f68b2..fa408c2 100644
--- a/README.md
+++ b/README.md
@@ -85,7 +85,7 @@ development of this crate. Thanks to Daniel Mueller for contributions to
## Minimum Supported Rust Version
-This crate supports Rust 1.34.2 or later.
+This crate supports Rust 1.40.0 or later.
## Contact