Skip to content

Commit

Permalink
build!: bump MSRV to 1.63
Browse files Browse the repository at this point in the history
1.63 is the version packaged in Debian 12.

1.48 (packaged in Debian 11) is skipped because:

* Debian 11 is EOL soon (2024-7)
* 1.48 doesn't support rust 2021 edition, making lots of crates unusable
  (notably unicode-width)

This commit also reverts changes in CI for msrv check: it seems
impossible for `--no-dev-deps` to respect the lock file because
`Cargo.toml` is modified.
  • Loading branch information
Aetf committed Apr 27, 2024
1 parent 096e6d7 commit 227e8d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ jobs:
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2

- run: cargo fetch --locked

- run: cargo hack --feature-powerset --no-dev-deps --rust-version check --workspace --offline
- run: cargo hack --feature-powerset --no-dev-deps --rust-version check --workspace

features:
name: Features ${{ matrix.toolchain }} ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "unicode-truncate"
version = "0.2.0"
authors = ["Aetf <[email protected]>"]
edition = "2018"
rust-version = "1.48"
rust-version = "1.63"

homepage = "https://github.com/Aetf/unicode-truncate"
repository = "https://github.com/Aetf/unicode-truncate"
Expand Down

0 comments on commit 227e8d0

Please sign in to comment.