Skip to content

Commit 4cd510c

Browse files
committed
bump to 1.88
1 parent a77f7f4 commit 4cd510c

17 files changed

Lines changed: 36 additions & 36 deletions

.clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
msrv = "1.85.0"
1+
msrv = "1.88.0"
22
cognitive-complexity-threshold = 18

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os: [ubuntu-latest, macos-latest, windows-latest]
20-
rust: [nightly, stable, "1.85"]
20+
rust: [nightly, stable, "1.88"]
2121
runs-on: ${{ matrix.os }}
2222
continue-on-error: ${{ matrix.rust == 'nightly' }}
2323

@@ -94,7 +94,7 @@ jobs:
9494
strategy:
9595
fail-fast: false
9696
matrix:
97-
rust: [nightly, stable, "1.85"]
97+
rust: [nightly, stable, "1.88"]
9898
continue-on-error: ${{ matrix.rust == 'nightly' }}
9999
steps:
100100
- uses: actions/checkout@v4
@@ -148,7 +148,7 @@ jobs:
148148
strategy:
149149
fail-fast: false
150150
matrix:
151-
rust: [nightly, stable, "1.85"]
151+
rust: [nightly, stable, "1.88"]
152152
continue-on-error: ${{ matrix.rust == 'nightly' }}
153153
steps:
154154
- uses: actions/checkout@v4
@@ -199,7 +199,7 @@ jobs:
199199
strategy:
200200
fail-fast: false
201201
matrix:
202-
rust: [nightly, stable, "1.85"]
202+
rust: [nightly, stable, "1.88"]
203203
continue-on-error: ${{ matrix.rust == 'nightly' }}
204204
steps:
205205
- uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## Unreleased
99

1010
### Changed
11-
* rust msrv bumped to `1.85`
11+
* rust msrv bumped to `1.88`
1212

1313
## [0.28.0] - 2025-12-14
1414

Cargo.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ version = "0.28.0"
44
authors = ["extrawurst <mail@rusticorn.com>"]
55
description = "blazing fast terminal-ui for git"
66
edition = "2021"
7-
rust-version = "1.85"
7+
rust-version = "1.88"
88
exclude = [".github/*", ".vscode/*", "assets/*"]
99
homepage = "https://github.com/gitui-org/gitui"
1010
repository = "https://github.com/gitui-org/gitui"
1111
readme = "README.md"
1212
license = "MIT"
1313
categories = ["command-line-utilities"]
14-
keywords = ["git", "gui", "cli", "terminal", "ui"]
14+
keywords = ["cli", "git", "gui", "terminal", "ui"]
1515
build = "build.rs"
1616

1717
[workspace]
@@ -43,7 +43,7 @@ bugreport = "0.5.1"
4343
bwrap = { version = "1.3", features = ["use_std"] }
4444
bytesize = { version = "2.3", default-features = false }
4545
chrono = { version = "0.4", default-features = false, features = ["clock"] }
46-
clap = { version = "4.5", features = ["env", "cargo"] }
46+
clap = { version = "4.5", features = ["cargo", "env"] }
4747
crossbeam-channel = "0.5"
4848
crossterm = { version = "0.28", features = ["serde"] }
4949
dirs = "6.0"
@@ -59,8 +59,8 @@ notify-debouncer-mini = "0.7"
5959
once_cell = "1"
6060
parking_lot_core = "0.9"
6161
ratatui = { version = "0.29", default-features = false, features = [
62-
'crossterm',
63-
'serde',
62+
"crossterm",
63+
"serde",
6464
] }
6565
rayon-core = "1.13"
6666
ron = "0.12"
@@ -71,11 +71,11 @@ shellexpand = "3.1"
7171
simplelog = { version = "0.12", default-features = false }
7272
struct-patch = "0.10"
7373
syntect = { version = "5.3", default-features = false, features = [
74-
"parsing",
75-
"default-syntaxes",
76-
"default-themes",
77-
"plist-load",
78-
"html",
74+
"default-syntaxes",
75+
"default-themes",
76+
"html",
77+
"parsing",
78+
"plist-load",
7979
] }
8080
tui-textarea = "0.7"
8181
two-face = { version = "0.4.4", default-features = false }
@@ -95,14 +95,14 @@ tempfile = "3"
9595
[badges]
9696
maintenance = { status = "actively-developed" }
9797

98-
[profile.release]
99-
lto = true
100-
opt-level = 'z' # Optimize for size.
101-
codegen-units = 1
102-
strip = "debuginfo"
103-
10498
# make debug build as fast as release
10599
# usage of utf8 encoding inside tui
106100
# makes their debug profile slow
107101
[profile.dev.package."ratatui"]
108102
opt-level = 3
103+
104+
[profile.release]
105+
opt-level = "z" # Optimize for size.
106+
strip = "debuginfo"
107+
lto = true
108+
codegen-units = 1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ see [NIGHTLIES.md](./NIGHTLIES.md)
220220

221221
### Requirements
222222

223-
- Minimum supported `rust`/`cargo` version: `1.85`
223+
- Minimum supported `rust`/`cargo` version: `1.88`
224224
- See [Install Rust](https://www.rust-lang.org/tools/install)
225225

226226
- To build openssl dependency (see https://docs.rs/openssl/latest/openssl/)

filetreelist/src/filetreeitems.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl FileTreeItems {
5959
}
6060

6161
/// how many individual items (files/paths) are in the list
62-
pub fn len(&self) -> usize {
62+
pub const fn len(&self) -> usize {
6363
self.tree_items.len()
6464
}
6565

src/components/changes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl ChangesComponent {
6767
}
6868

6969
/// returns true if list is empty
70-
pub fn is_empty(&self) -> bool {
70+
pub const fn is_empty(&self) -> bool {
7171
self.files.is_empty()
7272
}
7373

src/components/commitlist.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ impl CommitList {
113113
}
114114

115115
///
116-
pub fn marked_count(&self) -> usize {
116+
pub const fn marked_count(&self) -> usize {
117117
self.marked.len()
118118
}
119119

@@ -284,7 +284,7 @@ impl CommitList {
284284
}
285285

286286
/// will return view size or None before the first render
287-
fn current_size(&self) -> Option<(u16, u16)> {
287+
const fn current_size(&self) -> Option<(u16, u16)> {
288288
self.current_size.get()
289289
}
290290

src/components/status_tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl StatusTreeComponent {
9797
}
9898

9999
/// returns true if list is empty
100-
pub fn is_empty(&self) -> bool {
100+
pub const fn is_empty(&self) -> bool {
101101
self.tree.is_empty()
102102
}
103103

src/components/textinput.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ impl TextInputComponent {
122122
}
123123

124124
/// screen area (last time we got drawn)
125-
pub fn get_area(&self) -> Rect {
125+
pub const fn get_area(&self) -> Rect {
126126
self.current_area.get()
127127
}
128128

0 commit comments

Comments
 (0)