Update MSRV and add it in rust-toolchain.toml

This commit is contained in:
Mélanie Chauvel 2021-08-12 16:46:37 +02:00
parent 2ac7024197
commit ef8fd32dc6
3 changed files with 6 additions and 4 deletions

View File

@ -28,7 +28,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
rust: [1.48.0, stable, beta, nightly]
rust: [1.56.1, stable, beta, nightly]
steps:
- name: Checkout repository

View File

@ -197,8 +197,8 @@ To build without Git support, run `cargo install --no-default-features exa` is a
<a id="development">
<h1>Development
<a href="https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html">
<img src="https://img.shields.io/badge/rustc-1.45.2+-lightgray.svg" alt="Rust 1.45.2+" />
<a href="https://blog.rust-lang.org/2021/11/01/Rust-1.56.1.html">
<img src="https://img.shields.io/badge/rustc-1.56.1+-lightgray.svg" alt="Rust 1.56.1+" />
</a>
<a href="https://github.com/ogham/exa/blob/master/LICENCE">
@ -207,7 +207,7 @@ To build without Git support, run `cargo install --no-default-features exa` is a
</h1></a>
exa is written in [Rust](https://www.rust-lang.org/).
You will need rustc version 1.45.2 or higher.
You will need rustc version 1.56.1 or higher.
The recommended way to install Rust for development is from the [official download page](https://www.rust-lang.org/tools/install), using rustup.
Once Rust is installed, you can compile exa with Cargo:

2
rust-toolchain.toml Normal file
View File

@ -0,0 +1,2 @@
[toolchain]
channel = "1.56.1"