Skip to content

Commit 74a54c1

Browse files
committed
Update MSRV to 1.65.0
1 parent 709bd24 commit 74a54c1

File tree

3 files changed

+26
-64
lines changed

3 files changed

+26
-64
lines changed

.github/workflows/ci.yml

+20-62
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,42 @@
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
28+
# - loongarch64-unknown-linux-gnu
2929
- powerpc-unknown-linux-gnu
3030
# - powerpc64-unknown-linux-gnu
3131
- powerpc64le-unknown-linux-gnu
32+
- riscv64gc-unknown-linux-gnu
3233
- s390x-unknown-linux-gnu
3334
- x86_64-unknown-linux-gnu
3435
- x86_64-unknown-linux-musl
3536

3637
include:
3738
# MSRV
38-
- rust: 1.46.0
39+
- rust: 1.65.0
3940
TARGET: x86_64-unknown-linux-gnu
4041

4142
# Test nightly but don't fail
@@ -58,37 +59,11 @@ jobs:
5859
command: build
5960
args: --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
6061

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
62+
- name: Build all features
8863
uses: actions-rs/cargo@v1
8964
with:
9065
command: build
91-
args: --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
66+
args: --target=${{ matrix.TARGET }} --all-features
9267

9368
- name: Test
9469
uses: actions-rs/cargo@v1
@@ -97,29 +72,12 @@ jobs:
9772
command: test
9873
args: --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
9974

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
75+
- name: Test all features
76+
uses: actions-rs/cargo@v1
12077
with:
121-
command: build
122-
args: --target=${{ matrix.TARGET }}
78+
use-cross: true
79+
command: test
80+
args: --target=${{ matrix.TARGET }} --all-features
12381

12482
checks:
12583
runs-on: ubuntu-latest
@@ -152,7 +110,7 @@ jobs:
152110
- uses: actions-rs/toolchain@v1
153111
with:
154112
profile: minimal
155-
toolchain: 1.46.0
113+
toolchain: 1.65.0
156114
components: clippy
157115

158116
- 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)