From 8062dfb7b4b974798bd8b957e01bb5143e4acc09 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sun, 6 Sep 2020 19:27:58 +0200 Subject: 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. --- .builds/archlinux-msrv.yml | 2 +- CHANGELOG.md | 1 + README.md | 2 +- 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 -- cgit v1.2.3