From 1e792762b50cbe4f4db151d3363c44685370008e Mon Sep 17 00:00:00 2001 From: Jacob Kiesel Date: Mon, 4 Sep 2023 09:00:32 -0600 Subject: [PATCH] Add MSRV Rust 1.63 --- .github/workflows/rust.yml | 2 +- Cargo.toml | 1 + README.md | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7a89fc1..699b401 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: [stable, nightly] + rust: [1.63, stable, nightly] steps: - name: Setup | Checkout uses: actions/checkout@v2 diff --git a/Cargo.toml b/Cargo.toml index 7342d58..ba4e773 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ name = "which" version = "4.4.2" edition = "2021" +rust-version = "1.63" authors = ["Harry Fei "] repository = "https://github.com/harryfei/which-rs.git" documentation = "https://docs.rs/which/" diff --git a/README.md b/README.md index 5615c36..d101333 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,10 @@ A Rust equivalent of Unix command "which". Locate installed executable in cross .for_each(|pth| println!("{}", pth.to_string_lossy())); ``` +## 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. + ## Documentation The documentation is [available online](https://docs.rs/which/).