1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

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 ## 0.14.0-dev
### Packaging
- Minimum Rust version has been bumped to 1.74.0
### Added ### Added
- Support relative path imports from config files - Support relative path imports from config files

View file

@ -8,7 +8,7 @@ readme = "README.md"
homepage = "https://alacritty.org" homepage = "https://alacritty.org"
repository = "https://github.com/alacritty/alacritty" repository = "https://github.com/alacritty/alacritty"
edition = "2021" edition = "2021"
rust-version = "1.70.0" rust-version = "1.74.0"
[dependencies.alacritty_terminal] [dependencies.alacritty_terminal]
path = "../alacritty_terminal" path = "../alacritty_terminal"

View file

@ -51,6 +51,7 @@ impl<'a> StrShortener<'a> {
if direction == ShortenDirection::Right { if direction == ShortenDirection::Right {
return Self { return Self {
#[allow(clippy::iter_skip_zero)]
chars: text.chars().skip(0), chars: text.chars().skip(0),
accumulated_len: 0, accumulated_len: 0,
text_action: TextAction::Char, text_action: TextAction::Char,

View file

@ -7,7 +7,7 @@ description = "Alacritty configuration abstractions"
homepage = "https://alacritty.org" homepage = "https://alacritty.org"
repository = "https://github.com/alacritty/alacritty" repository = "https://github.com/alacritty/alacritty"
edition = "2021" edition = "2021"
rust-version = "1.70.0" rust-version = "1.74.0"
[dependencies] [dependencies]
log = { version = "0.4.17", features = ["serde"] } log = { version = "0.4.17", features = ["serde"] }

View file

@ -7,7 +7,7 @@ description = "Failure resistant deserialization derive"
homepage = "https://alacritty.org" homepage = "https://alacritty.org"
repository = "https://github.com/alacritty/alacritty" repository = "https://github.com/alacritty/alacritty"
edition = "2021" edition = "2021"
rust-version = "1.70.0" rust-version = "1.74.0"
[lib] [lib]
proc-macro = true proc-macro = true

View file

@ -8,7 +8,7 @@ readme = "../README.md"
homepage = "https://alacritty.org" homepage = "https://alacritty.org"
repository = "https://github.com/alacritty/alacritty" repository = "https://github.com/alacritty/alacritty"
edition = "2021" edition = "2021"
rust-version = "1.70.0" rust-version = "1.74.0"
[features] [features]
default = ["serde"] default = ["serde"]