Skip to content

Commit 7d19c3c

Browse files
committed
Bump MSRV to 1.39.0 and test with all features
The 1.38.0 MSRV was incorrect as we weren't actually building with the async-tokio feature which failed on 1.38.0. Signed-off-by: Paul Osborne <[email protected]>
1 parent 58761a7 commit 7d19c3c

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ matrix:
7272

7373
# MSRV
7474
- env: TARGET=x86_64-unknown-linux-gnu
75-
rust: 1.38.0
75+
rust: 1.39.0
7676
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
7777

7878
before_install:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).
1010

1111
## v0.4.0 - 2020-08-01
1212

13+
- MSRV is now 1.39.0
1314
- Add support behind a feature flag for reading events from a line as a Stream via tokio. [#35](https://github.com/rust-embedded/gpio-cdev/pull/35).
1415

1516
## v0.3.0 - 2020-02-10

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ to be considered reliable.
207207

208208
## Minimum Supported Rust Version (MSRV)
209209

210-
This crate is guaranteed to compile on stable Rust 1.38.0 and up. It *might*
210+
This crate is guaranteed to compile on stable Rust 1.39.0 and up. It *might*
211211
compile with older versions but that may change in any new patch release.
212212

213213
## License

ci/script.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
set -ex
44

55
main() {
6-
cross build --target $TARGET
7-
cross build --target $TARGET --release
6+
cross build --target $TARGET --all-features
7+
cross build --target $TARGET --release --all-features
88

99
if [ ! -z $DISABLE_TESTS ]; then
1010
return
1111
fi
1212

13-
cross test --target $TARGET
14-
cross test --target $TARGET --release
13+
cross test --target $TARGET --all-features
14+
cross test --target $TARGET --release --all-features
1515

1616
# No main binary, so skip the 'cross run' portion
1717
# cross run --target $TARGET

0 commit comments

Comments
 (0)