Skip to content

Commit

Permalink
Increase MSRV to 1.74.1
Browse files Browse the repository at this point in the history
This will enable usage of the new tree-sitter-language crate.
  • Loading branch information
Wilfred committed Dec 20, 2024
1 parent a1603de commit f68948f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: actions/checkout@v4

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

Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.66.0
- uses: dtolnay/rust-toolchain@1.74.1
# This runs tests that rely on the MIME database being present.
- run: cargo test -- --ignored

Expand All @@ -83,7 +83,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.66.0
- uses: dtolnay/rust-toolchain@1.74.1
- name: Generate output for all sample files
run: ./sample_files/compare_all.sh
- name: Verify output is unchanged
Expand All @@ -94,15 +94,15 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.66.0
- uses: dtolnay/rust-toolchain@1.74.1
- run: cargo package --allow-dirty

fmt:
name: Rustfmt
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.66.0
- uses: dtolnay/rust-toolchain@1.74.1
- run: cargo fmt --all -- --check

actionlint:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Improved language detection when one argument is a named pipe.

Improved syntax highlighting, particularly for keywords.

### Build

difftastic now requires Rust 1.74.1 to build.

## 0.61 (released 24th October 2024)

**Recommended git configuration has changed! Please update your
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ edition = "2021"
# For reference, Debian stable is on 1.63 (see
# https://tracker.debian.org/pkg/rustc) but Debian doesn't currently
# package difftastic. Other distros are somewhat newer.
rust-version = "1.66.0"
rust-version = "1.74.1"
include = [
"/build.rs",
"/src/",
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.66"
channel = "1.74.1"
components = ["rustfmt"]
profile = "minimal"

0 comments on commit f68948f

Please sign in to comment.