Skip to content

Commit

Permalink
Upgrade deps, move to 6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaeroxe committed Jan 18, 2024
1 parent f50675a commit 96a8004
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
rust: [1.63, stable, nightly]
rust: ['1.70', stable, nightly]
steps:
- name: Setup | Checkout
uses: actions/checkout@v2
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## 6.0.0

- MSRV is now 1.70
- Upgraded all dependencies to latest version

## 5.0.0

- Remove several unused error messages
Expand Down
17 changes: 8 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "which"
version = "5.0.0"
version = "6.0.0"
edition = "2021"
rust-version = "1.63"
rust-version = "1.70"
authors = ["Harry Fei <tiziyuanfang@gmail.com>"]
repository = "https://github.com/harryfei/which-rs.git"
documentation = "https://docs.rs/which/"
Expand All @@ -13,20 +13,19 @@ categories = ["os", "filesystem"]
keywords = ["which", "which-rs", "unix", "command"]

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

[target.'cfg(any(windows, unix, target_os = "redox"))'.dependencies]
home = "0.5.5"
home = "0.5.9"

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

[dev-dependencies]
tempfile = "3.3.0"
tempfile = "3.9.0"

[package.metadata.docs.rs]
all-features = true
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ A Rust equivalent of Unix command "which". Locate installed executable in cross

## MSRV

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.
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.

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
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.

## Documentation

Expand Down

0 comments on commit 96a8004

Please sign in to comment.