Skip to content

Commit cad3b0c

Browse files
bors[bot]eldruin
andauthored
Merge #198
198: Add MSRV configuration to CI r=therealprof a=eldruin The compatibility with the MSRV should be checked by the CI. At the moment that is Rust 1.35.0 due to [this issue](rust-lang/rust#54973). The MSRV and its update process should probably also be documented in the README. Co-authored-by: Diego Barrios Romero <[email protected]>
2 parents 3f22b00 + c61e421 commit cad3b0c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ matrix:
1717
rust: nightly
1818
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
1919

20+
# Minimum supported Rust version
21+
- env: TARGET=x86_64-unknown-linux-gnu
22+
rust: 1.35.0
23+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
24+
2025
before_install: set -e
2126

2227
install:

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ list.
4343

4444
[awesome-embedded-rust]: https://github.com/rust-embedded/awesome-embedded-rust#driver-crates
4545

46+
# Minimum Supported Rust Version (MSRV)
47+
48+
This crate is guaranteed to compile on stable Rust 1.35 and up. It *might*
49+
compile with older versions but that may change in any new patch release.
50+
4651
## License
4752

4853
Licensed under either of

0 commit comments

Comments
 (0)