From 34b0a7a523a90f01b133ded1ce01ed768343871b Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Mon, 6 Apr 2020 21:51:23 +0200 Subject: [PATCH 1/2] Add MSRV configuration to CI --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index a7cc51a5f..3961ae86e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,11 @@ matrix: rust: nightly if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) + # Minimum supported Rust version + - env: TARGET=x86_64-unknown-linux-gnu + rust: 1.35.0 + if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) + before_install: set -e install: From c61e421d9fbb33c2586155509e46dc2d2367abc0 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Wed, 8 Apr 2020 09:11:18 +0200 Subject: [PATCH 2/2] Add note about MSRV on README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 66d9a33b8..65d64419a 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,11 @@ list. [awesome-embedded-rust]: https://github.com/rust-embedded/awesome-embedded-rust#driver-crates +# Minimum Supported Rust Version (MSRV) + +This crate is guaranteed to compile on stable Rust 1.35 and up. It *might* +compile with older versions but that may change in any new patch release. + ## License Licensed under either of