aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2025-05-26 20:59:28 +0900
committerKirill Chibisov <contact@kchibisov.com>2025-05-28 14:16:36 +0900
commit1fb1fd225e318b0bd1a1ccdad07f36386e0024ec (patch)
tree6b233fec48b6c7271b85764f525adb1411c1ac28
parent00a516abc78f54fe16ec820e58613bd8ac394d44 (diff)
downloadr-alacritty-1fb1fd225e318b0bd1a1ccdad07f36386e0024ec.tar.gz
r-alacritty-1fb1fd225e318b0bd1a1ccdad07f36386e0024ec.tar.bz2
r-alacritty-1fb1fd225e318b0bd1a1ccdad07f36386e0024ec.zip
Bump MSRV to 1.81.0
Also use workspace to specify that.
-rw-r--r--.builds/freebsd.yml2
-rw-r--r--.builds/linux.yml2
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--CHANGELOG.md4
-rw-r--r--Cargo.toml4
-rw-r--r--alacritty/Cargo.toml4
-rw-r--r--alacritty_config/Cargo.toml4
-rw-r--r--alacritty_config_derive/Cargo.toml4
-rw-r--r--alacritty_terminal/Cargo.toml4
9 files changed, 19 insertions, 11 deletions
diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml
index 5e5021c6..0546b948 100644
--- a/.builds/freebsd.yml
+++ b/.builds/freebsd.yml
@@ -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
diff --git a/.builds/linux.yml b/.builds/linux.yml
index e036261b..7e19269d 100644
--- a/.builds/linux.yml
+++ b/.builds/linux.yml
@@ -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
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c65e7f82..d7ae755d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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: |
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e5f9b215..d556f61e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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 `}`
diff --git a/Cargo.toml b/Cargo.toml
index efe3cc33..d2562bd5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,6 +7,10 @@ members = [
]
resolver = "2"
+[workspace.package]
+edition = "2021"
+rust-version = "1.81.0"
+
[profile.release]
lto = "thin"
debug = 1
diff --git a/alacritty/Cargo.toml b/alacritty/Cargo.toml
index 0d118229..f753f497 100644
--- a/alacritty/Cargo.toml
+++ b/alacritty/Cargo.toml
@@ -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"
diff --git a/alacritty_config/Cargo.toml b/alacritty_config/Cargo.toml
index a6d651bc..4fe99bdd 100644
--- a/alacritty_config/Cargo.toml
+++ b/alacritty_config/Cargo.toml
@@ -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"] }
diff --git a/alacritty_config_derive/Cargo.toml b/alacritty_config_derive/Cargo.toml
index 7d04eacc..718e4e65 100644
--- a/alacritty_config_derive/Cargo.toml
+++ b/alacritty_config_derive/Cargo.toml
@@ -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
diff --git a/alacritty_terminal/Cargo.toml b/alacritty_terminal/Cargo.toml
index 47a39fa7..95712461 100644
--- a/alacritty_terminal/Cargo.toml
+++ b/alacritty_terminal/Cargo.toml
@@ -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"]