Bump MSRV to 1.74.0

This commit is contained in:
Kirill Chibisov 2024-07-17 05:07:32 +03:00
parent b3f0f68184
commit 3504246c3f
6 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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"

View File

@ -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,

View File

@ -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"] }

View File

@ -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

View File

@ -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"]