From 6dc621ec1854656260564b114c33b23b3314c5c2 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Wed, 29 Dec 2021 20:43:03 +0000 Subject: [PATCH] Set minimum supported rust version to 1.51 --- .github/workflows/CICD.yml | 4 ++-- CHANGELOG.md | 2 +- README.md | 2 +- doc/README-ko.md | 2 +- doc/README-ru.md | 2 +- doc/README-zh.md | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index b871d6b9..124c7e31 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -1,7 +1,7 @@ name: CICD env: - MIN_SUPPORTED_RUST_VERSION: "1.46.0" + MIN_SUPPORTED_RUST_VERSION: "1.51.0" CICD_INTERMEDIATES_DIR: "_cicd-intermediates" on: @@ -54,7 +54,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: clippy - args: --locked --all-targets --all-features -- --allow clippy::unknown_clippy_lints + args: --locked --all-targets --all-features - name: Run tests uses: actions-rs/cargo@v1 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 39dbb0c4..913e55f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ ## Other - Add PowerShell completion, see #1826 (@rashil2000) -- Minimum supported Rust version (MSRV) bumped to 1.46 +- Minimum supported Rust version (MSRV) bumped to 1.51, see #1994 (@mdibaiee) - Include git hash in `bat -V` and `bat --version` output if present. See #1921 (@Enselic) ## Syntaxes diff --git a/README.md b/README.md index 7d1fb493..a787f89c 100644 --- a/README.md +++ b/README.md @@ -387,7 +387,7 @@ binaries are also available: look for archives with `musl` in the file name. ### From source -If you want to build `bat` from source, you need Rust 1.46 or +If you want to build `bat` from source, you need Rust 1.51 or higher. You can then use `cargo` to build everything: ```bash diff --git a/doc/README-ko.md b/doc/README-ko.md index c4bc86ab..2336f704 100644 --- a/doc/README-ko.md +++ b/doc/README-ko.md @@ -416,7 +416,7 @@ scoop install bat ### 소스에서 -`bat`의 소스를 빌드하기 위해서는, Rust 1.46 이상이 필요합니다. +`bat`의 소스를 빌드하기 위해서는, Rust 1.51 이상이 필요합니다. `cargo`를 이용해 전부 빌드할 수 있습니다: ```bash diff --git a/doc/README-ru.md b/doc/README-ru.md index d4aad033..493ca010 100644 --- a/doc/README-ru.md +++ b/doc/README-ru.md @@ -344,7 +344,7 @@ ansible-galaxy install aeimer.install_bat ### Из исходников -Если вы желаете установить `bat` из исходников, вам понадобится Rust 1.46 или выше. После этого используйте `cargo`, чтобы все скомпилировать: +Если вы желаете установить `bat` из исходников, вам понадобится Rust 1.51 или выше. После этого используйте `cargo`, чтобы все скомпилировать: ```bash cargo install --locked bat diff --git a/doc/README-zh.md b/doc/README-zh.md index 0be4b9bb..b41e2842 100644 --- a/doc/README-zh.md +++ b/doc/README-zh.md @@ -372,7 +372,7 @@ scoop install bat ### 从源码编译 -如果你想要自己构建`bat`,那么你需要安装有高于1.46版本的 Rust。 +如果你想要自己构建`bat`,那么你需要安装有高于1.51版本的 Rust。 使用以下命令编译。