Skip to content

Commit ad120bb

Browse files
committed
Change MSRV to Rust 1.67
1 parent f8cd581 commit ad120bb

File tree

5 files changed

+68
-38
lines changed

5 files changed

+68
-38
lines changed

.github/workflows/regression.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- uses: actions/checkout@v3
4040
- uses: dtolnay/rust-toolchain@v1
4141
with:
42-
toolchain: 1.70.0
42+
toolchain: 1.67.0
4343
targets: x86_64-unknown-linux-gnu
4444
- name: Run build
4545
run: cargo build

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## [Unreleased](https://github.com/dalance/procs/compare/v0.14.2...Unreleased) - ReleaseDate
44

5+
* [Changed] MSRV to Rust 1.67
6+
* [Added] Some columns on FreeBSD
7+
58
## [v0.14.2](https://github.com/dalance/procs/compare/v0.14.1...v0.14.2) - 2023-10-18
69

710
* [Added] BSD support [#313](https://github.com/dalance/procs/issues/313)

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ readme = "README.md"
1010
description = "A modern replacement for ps"
1111
edition = "2021"
1212
exclude = ["img/*", "config/*"]
13-
rust-version = "1.70"
13+
rust-version = "1.67"
1414

1515
[package.metadata.release]
1616
pre-release-commit-message = "Prepare to v{{version}}"
@@ -44,6 +44,7 @@ chrono = {version = "0.4.31", default-features = false, features = ["cloc
4444
directories = "5.0.1"
4545
dockworker = { version = "0.3.0", optional = true }
4646
getch = "0.3.1"
47+
is-terminal = "0.4.9"
4748
libc = "0.2"
4849
minus = { version = "5.4", features = ["static_output", "search"] }
4950
once_cell = "1.18.0"

src/util.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ use crate::config::{Config, ConfigColumnAlign, ConfigSearchCase, ConfigSearchLog
44
use crate::Opt;
55
use byte_unit::Byte;
66
use clap::ValueEnum;
7+
use is_terminal::IsTerminal;
78
use std::borrow::Cow;
8-
use std::io::{self, IsTerminal};
9+
use std::io;
910
use std::time::Duration;
1011
use std::time::Instant;
1112
use unicode_width::{UnicodeWidthChar, UnicodeWidthStr};

0 commit comments

Comments
 (0)