Set minimum supported rust version to 1.51

This commit is contained in:
Mahdi Dibaiee 2021-12-29 20:43:03 +00:00 committed by Martin Nordholts
parent 3358b075fb
commit 6dc621ec18
6 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
name: CICD name: CICD
env: env:
MIN_SUPPORTED_RUST_VERSION: "1.46.0" MIN_SUPPORTED_RUST_VERSION: "1.51.0"
CICD_INTERMEDIATES_DIR: "_cicd-intermediates" CICD_INTERMEDIATES_DIR: "_cicd-intermediates"
on: on:
@ -54,7 +54,7 @@ jobs:
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: clippy command: clippy
args: --locked --all-targets --all-features -- --allow clippy::unknown_clippy_lints args: --locked --all-targets --all-features
- name: Run tests - name: Run tests
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:

View File

@ -25,7 +25,7 @@
## Other ## Other
- Add PowerShell completion, see #1826 (@rashil2000) - 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) - Include git hash in `bat -V` and `bat --version` output if present. See #1921 (@Enselic)
## Syntaxes ## Syntaxes

View File

@ -387,7 +387,7 @@ binaries are also available: look for archives with `musl` in the file name.
### From source ### 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: higher. You can then use `cargo` to build everything:
```bash ```bash

View File

@ -416,7 +416,7 @@ scoop install bat
### 소스에서 ### 소스에서
`bat`의 소스를 빌드하기 위해서는, Rust 1.46 이상이 필요합니다. `bat`의 소스를 빌드하기 위해서는, Rust 1.51 이상이 필요합니다.
`cargo`를 이용해 전부 빌드할 수 있습니다: `cargo`를 이용해 전부 빌드할 수 있습니다:
```bash ```bash

View File

@ -344,7 +344,7 @@ ansible-galaxy install aeimer.install_bat
### Из исходников ### Из исходников
Если вы желаете установить `bat` из исходников, вам понадобится Rust 1.46 или выше. После этого используйте `cargo`, чтобы все скомпилировать: Если вы желаете установить `bat` из исходников, вам понадобится Rust 1.51 или выше. После этого используйте `cargo`, чтобы все скомпилировать:
```bash ```bash
cargo install --locked bat cargo install --locked bat

View File

@ -372,7 +372,7 @@ scoop install bat
### 从源码编译 ### 从源码编译
如果你想要自己构建`bat`那么你需要安装有高于1.46版本的 Rust。 如果你想要自己构建`bat`那么你需要安装有高于1.51版本的 Rust。
使用以下命令编译。 使用以下命令编译。