Skip to content

Bump ratatui from 0.28.1 to 0.29.0 #27

Bump ratatui from 0.28.1 to 0.29.0

Bump ratatui from 0.28.1 to 0.29.0 #27

Triggered via pull request October 21, 2024 22:16
Status Success
Total duration 2m 11s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
unused import: `KeyEventKind`: src/app.rs#L5
warning: unused import: `KeyEventKind` --> src/app.rs:5:56 | 5 | use crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind, KeyModifiers}; | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused import: `Text`: src/app.rs#L9
warning: unused import: `Text` --> src/app.rs:9:24 | 9 | text::{Line, Span, Text}, | ^^^^
unused imports: `Duration` and `process::Command`: src/app.rs#L17
warning: unused imports: `Duration` and `process::Command` --> src/app.rs:17:5 | 17 | process::Command, | ^^^^^^^^^^^^^^^^ 18 | time::{Duration, Instant}, | ^^^^^^^^
use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name: src/app.rs#L184
warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name --> src/app.rs:184:26 | 184 | .split(frame.size()); | ^^^^ | = note: `#[warn(deprecated)]` on by default
use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name: src/app.rs#L380
warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name --> src/app.rs:380:48 | 380 | let area = centered_rect(60, 20, frame.size()); | ^^^^
unused variable: `public_key`: src/app.rs#L636
warning: unused variable: `public_key` --> src/app.rs:636:24 | 636 | Ok(public_key) => { | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` | = note: `#[warn(unused_variables)]` on by default
this `impl` can be derived: src/app.rs#L88
warning: this `impl` can be derived --> src/app.rs:88:1 | 88 | / impl Default for Tab { 89 | | fn default() -> Self { 90 | | Tab::Accounts 91 | | } 92 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls = note: `#[warn(clippy::derivable_impls)]` on by default = help: remove the manual implementation... help: ...and instead derive it... | 64 + #[derive(Default)] 65 | enum Tab { | help: ...and mark the default variant | 65 ~ #[default] 66 ~ Accounts, |
this `impl` can be derived: src/app.rs#L94
warning: this `impl` can be derived --> src/app.rs:94:1 | 94 | / impl Default for InputMode { 95 | | fn default() -> Self { 96 | | InputMode::Normal 97 | | } 98 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls = help: remove the manual implementation... help: ...and instead derive it... | 70 + #[derive(Default)] 71 | enum InputMode { | help: ...and mark the default variant | 71 ~ #[default] 72 ~ Normal, |
this import is redundant: src/db.rs#L1
warning: this import is redundant --> src/db.rs:1:1 | 1 | use dirs; | ^^^^^^^^^ help: remove it entirely | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports = note: `#[warn(clippy::single_component_path_imports)]` on by default
struct `SSHKey` is never constructed: src/db.rs#L14
warning: struct `SSHKey` is never constructed --> src/db.rs:14:12 | 14 | pub struct SSHKey { | ^^^^^^ | = note: `#[warn(dead_code)]` on by default