1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-11-06 22:44:18 -05:00

Bump MSRV to 1.81.0

Also use workspace to specify that.
This commit is contained in:
Kirill Chibisov 2025-05-26 20:59:28 +09:00
parent 00a516abc7
commit 1fb1fd225e
9 changed files with 19 additions and 11 deletions

View file

@ -24,7 +24,7 @@ tasks:
cargo test cargo test
- oldstable: | - oldstable: |
cd alacritty cd alacritty
oldstable=$(cat alacritty/Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/') oldstable=$(cat Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/')
rustup toolchain install --profile minimal $oldstable rustup toolchain install --profile minimal $oldstable
rustup default $oldstable rustup default $oldstable
cargo test cargo test

View file

@ -34,7 +34,7 @@ tasks:
cargo test cargo test
- oldstable: | - oldstable: |
cd alacritty cd alacritty
oldstable=$(cat alacritty/Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/') oldstable=$(cat Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/')
rustup toolchain install --profile minimal $oldstable rustup toolchain install --profile minimal $oldstable
rustup default $oldstable rustup default $oldstable
cargo test cargo test

View file

@ -21,7 +21,7 @@ jobs:
run: cargo test -p alacritty_terminal --no-default-features run: cargo test -p alacritty_terminal --no-default-features
- name: Oldstable - name: Oldstable
run: | run: |
rustup default $(cat alacritty/Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/') rustup default $(cat Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/')
cargo test cargo test
- name: Clippy - name: Clippy
run: | run: |

View file

@ -10,6 +10,10 @@ Notable changes to the `alacritty_terminal` crate are documented in its
## 0.16.0-dev ## 0.16.0-dev
### Packaging
- Minimum Rust version has been bumped to 1.81.0
### Added ### Added
- Vi motions `*`, `#`, `{`, and `}` - Vi motions `*`, `#`, `{`, and `}`

View file

@ -7,6 +7,10 @@ members = [
] ]
resolver = "2" resolver = "2"
[workspace.package]
edition = "2021"
rust-version = "1.81.0"
[profile.release] [profile.release]
lto = "thin" lto = "thin"
debug = 1 debug = 1

View file

@ -7,8 +7,8 @@ description = "A fast, cross-platform, OpenGL terminal emulator"
readme = "README.md" readme = "README.md"
homepage = "https://alacritty.org" homepage = "https://alacritty.org"
repository = "https://github.com/alacritty/alacritty" repository = "https://github.com/alacritty/alacritty"
edition = "2021" edition.workspace = true
rust-version = "1.74.0" rust-version.workspace = true
[dependencies.alacritty_terminal] [dependencies.alacritty_terminal]
path = "../alacritty_terminal" path = "../alacritty_terminal"

View file

@ -6,8 +6,8 @@ license = "MIT OR Apache-2.0"
description = "Alacritty configuration abstractions" description = "Alacritty configuration abstractions"
homepage = "https://alacritty.org" homepage = "https://alacritty.org"
repository = "https://github.com/alacritty/alacritty" repository = "https://github.com/alacritty/alacritty"
edition = "2021" edition.workspace = true
rust-version = "1.74.0" rust-version.workspace = true
[dependencies] [dependencies]
log = { version = "0.4.17", features = ["serde"] } log = { version = "0.4.17", features = ["serde"] }

View file

@ -6,8 +6,8 @@ license = "MIT OR Apache-2.0"
description = "Failure resistant deserialization derive" description = "Failure resistant deserialization derive"
homepage = "https://alacritty.org" homepage = "https://alacritty.org"
repository = "https://github.com/alacritty/alacritty" repository = "https://github.com/alacritty/alacritty"
edition = "2021" edition.workspace = true
rust-version = "1.74.0" rust-version.workspace = true
[lib] [lib]
proc-macro = true proc-macro = true

View file

@ -7,8 +7,8 @@ description = "Library for writing terminal emulators"
readme = "../README.md" readme = "../README.md"
homepage = "https://alacritty.org" homepage = "https://alacritty.org"
repository = "https://github.com/alacritty/alacritty" repository = "https://github.com/alacritty/alacritty"
edition = "2021" edition.workspace = true
rust-version = "1.74.0" rust-version.workspace = true
[features] [features]
default = ["serde"] default = ["serde"]