1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-06-02 18:42:15 -04: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
- oldstable: |
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 default $oldstable
cargo test

View file

@ -34,7 +34,7 @@ tasks:
cargo test
- oldstable: |
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 default $oldstable
cargo test

View file

@ -21,7 +21,7 @@ jobs:
run: cargo test -p alacritty_terminal --no-default-features
- name: Oldstable
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
- name: Clippy
run: |

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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