Skip to content

Commit

Permalink
Increase MSRV to 1.60
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Oct 31, 2023
1 parent debadb6 commit 4284c35
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install jq
run: sudo apt-get install -y jq

- uses: dtolnay/rust-toolchain@1.59.0
- uses: dtolnay/rust-toolchain@1.60.0
- run: cargo doc

- name: Setup mdBook
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v3

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.59.0
uses: dtolnay/rust-toolchain@1.60.0
with:
targets: ${{ matrix.job.target }}

Expand All @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.59.0
- uses: dtolnay/rust-toolchain@1.60.0
# This runs tests that rely on the MIME database being present.
- run: cargo test -- --ignored

Expand All @@ -65,7 +65,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.59.0
- uses: dtolnay/rust-toolchain@1.60.0
- name: Generate output for all sample files
run: ./sample_files/compare_all.sh
- name: Verify output is unchanged
Expand All @@ -76,13 +76,13 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.59.0
- uses: dtolnay/rust-toolchain@1.60.0
- run: cargo package --allow-dirty

fmt:
name: Rustfmt
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.59.0
- uses: dtolnay/rust-toolchain@1.60.0
- run: cargo fmt --all -- --check
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ Windows and non-Windows flies.
The option `--skip-unchanged` now has a corresponding environment
option `DFT_SKIP_UNCHANGED`.

### Build

Difftastic now requires Rust 1.60 to build.

## 0.52 (released 8th October 2023)

### Parsing
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ edition = "2021"
# Goal: support at least 12 months of Rust versions, and also the Rust
# version on Debian stable:
# https://tracker.debian.org/pkg/rustc
rust-version = "1.59.0"
rust-version = "1.60.0"
include = [
"/build.rs",
"/src/",
Expand Down
2 changes: 1 addition & 1 deletion manual/src/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $ brew install difftastic

Difftastic is written in Rust, so you will need Rust installed. I
recommend [rustup](https://rustup.rs/) to install Rust. Difftastic
requires Rust version 1.59 or later.
requires Rust version 1.60 or later.

You will also need a C++ compiler that supports C++14. If you're using
GCC, you need at least version 8.
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.59"
channel = "1.60"
components = ["rustfmt"]
profile = "minimal"
2 changes: 1 addition & 1 deletion translation/zh-CN/manual-zh-CN/src/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $ brew install difftastic

### 要求

Difftastic 使用 Rust 编写,所以你需安装 Rust。我推荐使用 [rustup](https://rustup.rs/) 安装 Rust。Difftastic 要求 Rust 版本不低于 1.59
Difftastic 使用 Rust 编写,所以你需安装 Rust。我推荐使用 [rustup](https://rustup.rs/) 安装 Rust。Difftastic 要求 Rust 版本不低于 1.60

你也需要一个支持 C++14 的 C++ 编译器。如果你正在使用 GCC,则 GCC 版本至少为 8。

Expand Down

0 comments on commit 4284c35

Please sign in to comment.