Skip to content

Commit c90d2f1

Browse files
committed
Update dependencies and raise MSRV
1 parent fdaebe4 commit c90d2f1

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

.github/workflows/ci.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

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

4141
# Test nightly but don't fail
@@ -109,10 +109,9 @@ jobs:
109109
- uses: actions-rs/toolchain@v1
110110
with:
111111
profile: minimal
112-
toolchain: 1.65.0
112+
toolchain: 1.70.0
113113
components: clippy
114114

115115
- uses: actions-rs/clippy-check@v1
116116
with:
117117
token: ${{ secrets.GITHUB_TOKEN }}
118-

CHANGELOG.md

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

55
### Changed
66

7+
- Updated `mio` to version `1`.
8+
- Updated `nix` to version `0.26`.
9+
- Minimum supported Rust version updated to 1.70.0
10+
711
## [0.6.2] - 2024-05-13
812

913
- Minimum supported Rust version updated to 1.65.0

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ homepage = "https://github.com/rust-embedded/rust-sysfs-gpio"
1111
documentation = "https://docs.rs/sysfs_gpio/"
1212
description = "Provides access to GPIOs using the Linux sysfs interface."
1313
readme = "README.md"
14-
edition = "2018"
14+
edition = "2021"
1515

1616
[features]
1717
mio-evented = ["mio"]
1818
async-tokio = ["futures", "tokio", "mio-evented"]
1919

2020
[dependencies]
2121
futures = { version = "0.3", optional = true }
22-
nix = "0.23"
23-
mio = { version = "0.8", optional = true, features = ["os-ext"]}
22+
nix = "0.26"
23+
mio = { version = "1", optional = true, features = ["os-ext"]}
2424
tokio = { version = "1", optional = true, features = ["net"] }
2525

2626
[dev-dependencies]

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.65+-blue.svg)
6+
![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.70+-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.65.0 and up. It *might*
88+
This crate is guaranteed to compile on stable Rust 1.70.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)