Bump minimum Rust version to 1.56 for rpds support

pull/297/head
Wilfred Hughes 2022-03-05 10:42:52 +07:00
parent 4b674d4b8e
commit 2d4ec0a4be
4 changed files with 9 additions and 7 deletions

@ -11,7 +11,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.54.0
toolchain: 1.56.0
override: true
- uses: actions-rs/cargo@v1
with:
@ -25,7 +25,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.54.0
toolchain: 1.56.0
override: true
- uses: actions-rs/cargo@v1
with:
@ -39,7 +39,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.54.0
toolchain: 1.56.0
override: true
- name: Generate output for all sample files
run: ./sample_files/compare_all.sh
@ -54,7 +54,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.54.0
toolchain: 1.56.0
override: true
- uses: actions-rs/cargo@v1
with:
@ -69,7 +69,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.54.0
toolchain: 1.56.0
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1

@ -1,5 +1,7 @@
## 0.22 (unreleased)
Difftastic now requires Rust 1.56 to build.
### Diffing
Adjusted the heuristics for 'so much has changed in this expression

@ -9,7 +9,7 @@ authors = ["Wilfred Hughes <me@wilfred.me.uk>"]
keywords = ["diff", "syntax"]
categories = ["development-tools", "command-line-utilities", "parser-implementations"]
edition = "2018"
rust-version = "1.54.0"
rust-version = "1.56.0"
include = [
"/build.rs",
"/src/",

@ -4,7 +4,7 @@
The latest version of difftastic is [available on
crates.io](https://crates.io/crates/difftastic). You can install it
with Cargo. Difftastic requires Rust 1.54 or later.
with Cargo. Difftastic requires Rust 1.56 or later.
```
$ cargo install difftastic