Skip to content

Commit 07d630e

Browse files
committed
Update MSRV to 1.65.0
1 parent 709bd24 commit 07d630e

File tree

3 files changed

+26
-65
lines changed

3 files changed

+26
-65
lines changed

.github/workflows/ci.yml

+20-63
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
on:
2-
push:
3-
branches: [ staging, trying, master ]
4-
pull_request:
2+
push: # Run CI for all branches except GitHub merge queue tmp branches
3+
branches-ignore:
4+
- "gh-readonly-queue/**"
5+
pull_request: # Run CI for PRs on any branch
6+
merge_group: # Run CI for the GitHub merge queue
57

6-
name: CI
8+
name: Build
79

810
env:
911
RUSTFLAGS: '--deny warnings'
1012

1113
jobs:
12-
ci-linux:
13-
name: CI
14+
build:
1415
runs-on: ubuntu-latest
1516
strategy:
1617
matrix:
1718
rust: [stable]
1819
FEATURES: ["", "--features=async-tokio", "--features=mio-evented"]
1920
TARGET:
2021
- aarch64-unknown-linux-gnu
22+
- aarch64-unknown-linux-musl
2123
- arm-unknown-linux-gnueabi
24+
- arm-unknown-linux-gnueabihf
2225
- armv7-unknown-linux-gnueabihf
2326
- i686-unknown-linux-gnu
2427
- i686-unknown-linux-musl
25-
- mips-unknown-linux-gnu
26-
- mips64-unknown-linux-gnuabi64
27-
- mips64el-unknown-linux-gnuabi64
28-
- mipsel-unknown-linux-gnu
2928
- powerpc-unknown-linux-gnu
30-
# - powerpc64-unknown-linux-gnu
29+
- powerpc64-unknown-linux-gnu
3130
- powerpc64le-unknown-linux-gnu
31+
- riscv64gc-unknown-linux-gnu
3232
- s390x-unknown-linux-gnu
3333
- x86_64-unknown-linux-gnu
3434
- x86_64-unknown-linux-musl
3535

3636
include:
3737
# MSRV
38-
- rust: 1.46.0
38+
- rust: 1.65.0
3939
TARGET: x86_64-unknown-linux-gnu
4040

4141
# Test nightly but don't fail
@@ -58,37 +58,11 @@ jobs:
5858
command: build
5959
args: --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
6060

61-
- name: Test
62-
uses: actions-rs/cargo@v1
63-
with:
64-
use-cross: true
65-
command: test
66-
args: --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
67-
68-
ci-linux-msrv:
69-
name: CI
70-
runs-on: ubuntu-latest
71-
strategy:
72-
matrix:
73-
rust: [1.46.0]
74-
FEATURES: ["", "--features=async-tokio", "--features=mio-evented"]
75-
TARGET:
76-
- x86_64-unknown-linux-gnu
77-
78-
steps:
79-
- uses: actions/checkout@v2
80-
- uses: actions-rs/toolchain@v1
81-
with:
82-
profile: minimal
83-
toolchain: ${{ matrix.rust }}
84-
target: ${{ matrix.TARGET }}
85-
override: true
86-
87-
- name: Build
61+
- name: Build all features
8862
uses: actions-rs/cargo@v1
8963
with:
9064
command: build
91-
args: --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
65+
args: --target=${{ matrix.TARGET }} --all-features
9266

9367
- name: Test
9468
uses: actions-rs/cargo@v1
@@ -97,29 +71,12 @@ jobs:
9771
command: test
9872
args: --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
9973

100-
ci-macos:
101-
name: CI
102-
runs-on: macos-11
103-
104-
strategy:
105-
matrix:
106-
rust: [stable, 1.46.0]
107-
TARGET: [x86_64-apple-darwin]
108-
109-
steps:
110-
- uses: actions/checkout@v2
111-
112-
- uses: actions-rs/toolchain@v1
113-
with:
114-
profile: minimal
115-
toolchain: ${{ matrix.rust }}
116-
target: ${{ matrix.TARGET }}
117-
override: true
118-
119-
- uses: actions-rs/cargo@v1
74+
- name: Test all features
75+
uses: actions-rs/cargo@v1
12076
with:
121-
command: build
122-
args: --target=${{ matrix.TARGET }}
77+
use-cross: true
78+
command: test
79+
args: --target=${{ matrix.TARGET }} --all-features
12380

12481
checks:
12582
runs-on: ubuntu-latest
@@ -152,7 +109,7 @@ jobs:
152109
- uses: actions-rs/toolchain@v1
153110
with:
154111
profile: minimal
155-
toolchain: 1.46.0
112+
toolchain: 1.65.0
156113
components: clippy
157114

158115
- uses: actions-rs/clippy-check@v1

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [master] - Unreleased
44

5+
### Changed
6+
7+
- Minimum supported Rust version updated to 1.65.0
8+
59
## [0.6.1] - 2021-11-22
610

711
### Changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sysfs_gpio
33

44
[![Build Status](https://github.com/rust-embedded/rust-sysfs-gpio/workflows/CI/badge.svg)](https://github.com/rust-embedded/rust-sysfs-gpio/actions)
55
[![Version](https://img.shields.io/crates/v/sysfs-gpio.svg)](https://crates.io/crates/sysfs-gpio)
6-
![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.46+-blue.svg)
6+
![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.65+-blue.svg)
77
[![License](https://img.shields.io/crates/l/sysfs-gpio.svg)](https://github.com/rust-embedded/rust-sysfs-gpio/blob/master/README.md#license)
88

99
- [API Documentation](https://docs.rs/sysfs_gpio)
@@ -85,7 +85,7 @@ The following features are planned for the library:
8585

8686
## Minimum Supported Rust Version (MSRV)
8787

88-
This crate is guaranteed to compile on stable Rust 1.46.0 and up. It *might*
88+
This crate is guaranteed to compile on stable Rust 1.65.0 and up. It *might*
8989
compile with older versions but that may change in any new patch release.
9090

9191
## Cross Compiling

0 commit comments

Comments
 (0)