Skip to content

Commit fcde0ea

Browse files
committed
Upgrade deps, move to 6.0.0
1 parent f50675a commit fcde0ea

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
fail-fast: false
8181
matrix:
8282
os: [ubuntu-latest, windows-latest, macos-latest]
83-
rust: [1.63, stable, nightly]
83+
rust: ['1.70', stable, nightly]
8484
steps:
8585
- name: Setup | Checkout
8686
uses: actions/checkout@v2

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## 6.0.0
4+
5+
- MSRV is now 1.70
6+
- Upgraded all dependencies to latest version
7+
38
## 5.0.0
49

510
- Remove several unused error messages

Cargo.toml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "which"
3-
version = "5.0.0"
3+
version = "6.0.0"
44
edition = "2021"
5-
rust-version = "1.63"
5+
rust-version = "1.70"
66
authors = ["Harry Fei <[email protected]>"]
77
repository = "https://github.com/harryfei/which-rs.git"
88
documentation = "https://docs.rs/which/"
@@ -13,20 +13,19 @@ categories = ["os", "filesystem"]
1313
keywords = ["which", "which-rs", "unix", "command"]
1414

1515
[dependencies]
16-
either = "1.6.1"
17-
# Pin this to the last version that supported 1.63, which is our MSRV.
18-
regex = { version = "= 1.9.6", optional = true }
19-
rustix = { version = "0.38.10", default-features = false, features = ["fs", "std"] }
16+
either = "1.9.0"
17+
regex = { version = "1.10.2", optional = true }
18+
rustix = { version = "0.38.30", default-features = false, features = ["fs", "std"] }
2019

2120
[target.'cfg(any(windows, unix, target_os = "redox"))'.dependencies]
22-
home = "0.5.5"
21+
home = "0.5.9"
2322

2423
[target.'cfg(windows)'.dependencies]
25-
windows-sys = { version = "0.48", features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }
24+
windows-sys = { version = "0.52", features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }
2625
once_cell = "1"
2726

2827
[dev-dependencies]
29-
tempfile = "3.3.0"
28+
tempfile = "3.9.0"
3029

3130
[package.metadata.docs.rs]
3231
all-features = true

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ A Rust equivalent of Unix command "which". Locate installed executable in cross
3232

3333
## MSRV
3434

35-
This crate currently has an MSRV of Rust 1.63. Increasing the MSRV is considered a breaking change and thus requires a major version bump.
35+
This crate currently has an MSRV of Rust 1.70. Increasing the MSRV is considered a breaking change and thus requires a major version bump.
36+
37+
We cannot make any guarantees about the MSRV of our dependencies. You may be required to pin one of our dependencies to a lower version in your own Cargo.toml in order to compile
38+
with the minimum supported Rust version. Eventually Cargo will handle this automatically. See [rust-lang/cargo#9930](https://github.com/rust-lang/cargo/issues/9930) for more.
3639

3740
## Documentation
3841

0 commit comments

Comments
 (0)