diff --git a/.travis.yml b/.travis.yml index 8b9e8d3..7f95148 100644 --- a/.travis.yml +++ b/.travis.yml @@ -70,6 +70,11 @@ matrix: rust: nightly if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) + # MSRV + - env: TARGET=x86_64-unknown-linux-gnu + rust: 1.34.0 + if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) + before_install: - set -e - rustup self update diff --git a/README.md b/README.md index abb6aef..bfd5efe 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ rust-gpio-cdev is a Rust library/crate providing access to [GPIO character device ABI](https://www.kernel.org/doc/Documentation/ABI/testing/gpio-cdev). This API, -stabilized with Linux v4.4, deprecates the legacy sysfs interface to GPIOs that is +stabilized with Linux v4.4, deprecates the legacy sysfs interface to GPIOs that is planned to be removed from the upstream kernel after year 2020 (which is coming up quickly). @@ -173,6 +173,11 @@ would need to quickly handle the event notification, make another system call to the value file to see the state, etc. which had far too many variables involved to be considered reliable. +## Minimum Supported Rust Version (MSRV) + +This crate is guaranteed to compile on stable Rust 1.34.0 and up. It *might* +compile with older versions but that may change in any new patch release. + ## License Licensed under either of