From 8b9b9073e5b38d884aed2a84d725ed63961393d4 Mon Sep 17 00:00:00 2001 From: Nick Stevens Date: Sun, 1 Mar 2020 11:05:51 -0600 Subject: [PATCH 1/2] Update MSRV to 1.31 Upstream cfg-if now requires Rust 1.31 to build (despite not having done a major version bump). Updating our MSRV gets CI building correctly again. Signed-off-by: Nick Stevens --- .travis.yml | 2 +- CHANGELOG.md | 1 + README.md | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d2d90686b..a2f22502c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: rust sudo: false rust: - - 1.26.0 + - 1.31.1 - stable - beta - nightly diff --git a/CHANGELOG.md b/CHANGELOG.md index 1337d0816..ba5b9147d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Changed - Migrated to 'tokio' crate. +- Minimmum supported Rust version updated to 1.31 ## [0.5.3] - 2018-04-19 diff --git a/README.md b/README.md index 44396d9ae..1ae30cb13 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,11 @@ The following features are planned for the library: - [x] Support for asynchronous polling using `mio` or `tokio` (requires enabling the `mio-evented` or `use_tokio` crate features, respectively) +## Minimum Supported Rust Version (MSRV) + +This crate is guaranteed to compile on stable Rust 1.31 and up. It *might* +compile with older versions but that may change in any new patch release. + ## Cross Compiling Most likely, the machine you are running on is not your development From 7b58802a208fd1575e72891d84c1faeb9faec35d Mon Sep 17 00:00:00 2001 From: Nick Stevens Date: Sun, 1 Mar 2020 11:19:36 -0600 Subject: [PATCH 2/2] ci: remove deprecated `sudo` option Signed-off-by: Nick Stevens --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a2f22502c..8971f022c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,4 @@ language: rust -sudo: false rust: - 1.31.1 - stable