From fcde0ea802364deb2a6ec6e33879c903b4416242 Mon Sep 17 00:00:00 2001 From: Jacob Kiesel Date: Wed, 17 Jan 2024 20:56:45 -0700 Subject: [PATCH] Upgrade deps, move to 6.0.0 --- .github/workflows/rust.yml | 2 +- CHANGELOG.md | 5 +++++ Cargo.toml | 17 ++++++++--------- README.md | 5 ++++- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 151db18..db241bd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index dc0182d..ee1200c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.toml b/Cargo.toml index b57303d..4988fc7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 "] repository = "https://github.com/harryfei/which-rs.git" documentation = "https://docs.rs/which/" @@ -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 diff --git a/README.md b/README.md index d101333..3e18fc6 100644 --- a/README.md +++ b/README.md @@ -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