Skip to content

deps: bump ratatui, crossterm, tui-input and arrow; clippy::performance - #202

Merged
YS-L merged 10 commits into
YS-L:mainfrom
jqnatividad:bump_tui-input_crossterm_n_lock_file
Jul 4, 2026
Merged

YS-L merged 10 commits into
YS-L:mainfrom
jqnatividad:bump_tui-input_crossterm_n_lock_file

Conversation

@jqnatividad

Copy link
Copy Markdown
Contributor

now that ratatui has been updated to 0.30

also lock file update as well for other dependencies

now that ratatui has been updated to 0.30

also lock file update as well for other dependencies
@jqnatividad jqnatividad changed the title deps: bump crossterm and tui-input deps: bump crossterm, tui-input and arrow May 12, 2026
warning: consider using `sort_by_key`
   --> src/csv.rs:224:9
    |
224 |         get_row_indices.sort_by(|a, b| a.record_index.cmp(&b.record_index));
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by
    = note: `#[warn(clippy::unnecessary_sort_by)]` on by default
help: try
    |
224 -         get_row_indices.sort_by(|a, b| a.record_index.cmp(&b.record_index));
224 +         get_row_indices.sort_by_key(|a| a.record_index);
    |

warning: you seem to want to iterate on a map's values
  --> src/history.rs:87:29
   |
87 |         for (_, history) in self.inner.iter_mut() {
   |                             ^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map
   = note: `#[warn(clippy::for_kv_map)]` on by default
help: use the corresponding method
   |
87 -         for (_, history) in self.inner.iter_mut() {
87 +         for history in self.inner.values_mut() {
   |
@jqnatividad jqnatividad changed the title deps: bump crossterm, tui-input and arrow deps: bump ratatui, crossterm, tui-input and arrow; bump MSRV to latest Rust stable (1.96); clippy::performance Jun 8, 2026
@jqnatividad

Copy link
Copy Markdown
Contributor Author

@YS-L also bumped MSRV to latest stable, and the lock file.

Had to touch GH Action workflows as well to use latest Rust stable, but didn't want to mess up your cargo-dist.

Comment thread Cargo.toml
repository = "https://github.com/YS-L/csvlens"
keywords = ["cli", "csv", "viewer", "pager", "tui"]
edition = "2024"
rust-version = "1.88"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious whether the MSRV bump to 1.96 is required. I'd prefer not to raise it unless a dependency or code change requires it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MSRV bump is not required. Bumped it back down...

While I was at it bumped arrow as well :)

@YS-L YS-L changed the title deps: bump ratatui, crossterm, tui-input and arrow; bump MSRV to latest Rust stable (1.96); clippy::performance deps: bump ratatui, crossterm, tui-input and arrow; clippy::performance Jul 4, 2026
@YS-L

YS-L commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Thanks @jqnatividad !

@YS-L
YS-L merged commit 6acf060 into YS-L:main Jul 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants