Skip to content

Commit 4df6a2c

Browse files
sirhceleldruin
authored andcommitted
Set MSRV to 1.75.0 as shipped by today's Yocto
This inlcludes updating some formatting and pinning backtrace to the latest version supporting this Rust version.
1 parent 6991e43 commit 4df6a2c

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

Cargo.lock

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ license = "MIT/Apache-2.0"
77
readme = "README.md"
88
homepage = "https://github.com/rust-embedded/gpio-utils"
99
keywords = ["gpio", "linux", "sysfs_gpio", "cli", "command-line"]
10-
edition = "2024"
10+
edition = "2021"
11+
rust-version = "1.75.0"
1112
description = """
1213
Command-line utilities for interacting with GPIOs under Linux
1314
@@ -29,6 +30,9 @@ serde_derive = "1.0"
2930
serde = "1.0"
3031
uzers = { version = "0.12.1", default-features = false, features = ["cache"] }
3132

33+
# TODO Unpin this dependency after bumping our MSRV beyond 1.75.0.
34+
backtrace = "=0.3.74"
35+
3236
[[bin]]
3337
name = "gpio"
3438
path = "src/main.rs"

src/export.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use crate::config::PinConfig;
1010
use crate::error::*;
1111
use lazy_static::lazy_static;
12-
use nix::unistd::{Gid, Uid, chown};
12+
use nix::unistd::{chown, Gid, Uid};
1313
use std::fs;
1414
use std::io::ErrorKind;
1515
use std::os::unix::fs as unix_fs;

0 commit comments

Comments
 (0)