From 3504246c3f57769ca0528fe397e866a13c49f039 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Wed, 17 Jul 2024 05:07:32 +0300 Subject: [PATCH] Bump MSRV to 1.74.0 --- CHANGELOG.md | 4 ++++ alacritty/Cargo.toml | 2 +- alacritty/src/string.rs | 1 + alacritty_config/Cargo.toml | 2 +- alacritty_config_derive/Cargo.toml | 2 +- alacritty_terminal/Cargo.toml | 2 +- 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"]