From 2d4ec0a4be2b2539b4f0ec0f00c909f2b7642291 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Sat, 5 Mar 2022 10:42:52 -0800 Subject: [PATCH] Bump minimum Rust version to 1.56 for rpds support --- .github/workflows/test.yml | 10 +++++----- CHANGELOG.md | 2 ++ Cargo.toml | 2 +- manual/src/getting_started.md | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a3936e9a1..8d2ebc2f4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 799ce4b93..f81251feb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 2f4f72872..582460c01 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ authors = ["Wilfred Hughes "] 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/", diff --git a/manual/src/getting_started.md b/manual/src/getting_started.md index 74994f803..8b332ddf5 100644 --- a/manual/src/getting_started.md +++ b/manual/src/getting_started.md @@ -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