Bump MSRV to 1.81.0

Also use workspace to specify that.
This commit is contained in:
Kirill Chibisov committed 2025-05-28 14:16:36 +09:00
1 parent 00a516abc7
commit 1fb1fd225e
9 files changed
+19 -11

No files matched your search

+1 -1
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
+1 -1
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
+1 -1
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: |
+4
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 `}`
+4
View File
@@ -7,6 +7,10 @@ members = [
]
resolver = "2"
[workspace.package]
edition = "2021"
rust-version = "1.81.0"
[profile.release]
lto = "thin"
debug = 1
+2 -2
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"
+2 -2
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"] }
+2 -2
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
+2 -2
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"]