aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2024-07-17 05:07:32 +0300
committerKirill Chibisov <contact@kchibisov.com>2024-07-17 11:02:31 +0300
commit3504246c3f57769ca0528fe397e866a13c49f039 (patch)
tree840932a9efb774c472de0118ebb7a293c5cf9727
parentb3f0f68184b0d6b6221a5955acfcc4e33c01b766 (diff)
downloadalacritty-3504246c3f57769ca0528fe397e866a13c49f039.tar.gz
alacritty-3504246c3f57769ca0528fe397e866a13c49f039.zip
Bump MSRV to 1.74.0
-rw-r--r--CHANGELOG.md4
-rw-r--r--alacritty/Cargo.toml2
-rw-r--r--alacritty/src/string.rs1
-rw-r--r--alacritty_config/Cargo.toml2
-rw-r--r--alacritty_config_derive/Cargo.toml2
-rw-r--r--alacritty_terminal/Cargo.toml2
6 files changed, 9 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8442355a..203624fe 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,10 @@ Notable changes to the `alacritty_terminal` crate are documented in its
## 0.14.0-dev
+### Packaging
+
+- Minimum Rust version has been bumped to 1.74.0
+
### Added
- Support relative path imports from config files
diff --git a/alacritty/Cargo.toml b/alacritty/Cargo.toml
index a2fd0433..1bc8f0fe 100644
--- a/alacritty/Cargo.toml
+++ b/alacritty/Cargo.toml
@@ -8,7 +8,7 @@ readme = "README.md"
homepage = "https://alacritty.org"
repository = "https://github.com/alacritty/alacritty"
edition = "2021"
-rust-version = "1.70.0"
+rust-version = "1.74.0"
[dependencies.alacritty_terminal]
path = "../alacritty_terminal"
diff --git a/alacritty/src/string.rs b/alacritty/src/string.rs
index e41b0785..a7af4394 100644
--- a/alacritty/src/string.rs
+++ b/alacritty/src/string.rs
@@ -51,6 +51,7 @@ impl<'a> StrShortener<'a> {
if direction == ShortenDirection::Right {
return Self {
+ #[allow(clippy::iter_skip_zero)]
chars: text.chars().skip(0),
accumulated_len: 0,
text_action: TextAction::Char,
diff --git a/alacritty_config/Cargo.toml b/alacritty_config/Cargo.toml
index c09a05e2..4ca631af 100644
--- a/alacritty_config/Cargo.toml
+++ b/alacritty_config/Cargo.toml
@@ -7,7 +7,7 @@ description = "Alacritty configuration abstractions"
homepage = "https://alacritty.org"
repository = "https://github.com/alacritty/alacritty"
edition = "2021"
-rust-version = "1.70.0"
+rust-version = "1.74.0"
[dependencies]
log = { version = "0.4.17", features = ["serde"] }
diff --git a/alacritty_config_derive/Cargo.toml b/alacritty_config_derive/Cargo.toml
index dce13237..f74a7cba 100644
--- a/alacritty_config_derive/Cargo.toml
+++ b/alacritty_config_derive/Cargo.toml
@@ -7,7 +7,7 @@ description = "Failure resistant deserialization derive"
homepage = "https://alacritty.org"
repository = "https://github.com/alacritty/alacritty"
edition = "2021"
-rust-version = "1.70.0"
+rust-version = "1.74.0"
[lib]
proc-macro = true
diff --git a/alacritty_terminal/Cargo.toml b/alacritty_terminal/Cargo.toml
index 79e7c05b..e643e081 100644
--- a/alacritty_terminal/Cargo.toml
+++ b/alacritty_terminal/Cargo.toml
@@ -8,7 +8,7 @@ readme = "../README.md"
homepage = "https://alacritty.org"
repository = "https://github.com/alacritty/alacritty"
edition = "2021"
-rust-version = "1.70.0"
+rust-version = "1.74.0"
[features]
default = ["serde"]