chore(deps): update a range of dependencies #229
check.yml
on: pull_request
check
/
...
/
fmt
22s
check
/
...
/
doc
45s
check
/
...
/
check
48s
Matrix: check / clippy
Annotations
20 warnings
use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.:
src/components/alert_modal.rs#L76
warning: use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.
--> src/components/alert_modal.rs:76:72
|
76 | let title = Title::from(format!("< {} >", self.title.clone())).alignment(Alignment::Center);
| ^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.:
src/components/boolean_modal.rs#L92
warning: use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.
--> src/components/boolean_modal.rs:92:72
|
92 | let title = Title::from(format!("< {} >", self.title.clone())).alignment(Alignment::Center);
| ^^^^^^^^^
|
use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.:
src/components/resize_notice.rs#L82
warning: use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.
--> src/components/resize_notice.rs:82:58
|
82 | .title(Title::from("< Terminal Too Small >").alignment(layout::Alignment::Center))
| ^^^^^^^^^
|
use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead:
src/pages/containers.rs#L355
warning: use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead
--> src/pages/containers.rs:355:14
|
355 | .highlight_style(Style::new().reversed());
| ^^^^^^^^^^^^^^^
|
use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead:
src/pages/images.rs#L312
warning: use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead
--> src/pages/images.rs:312:14
|
312 | .highlight_style(Style::new().reversed());
| ^^^^^^^^^^^^^^^
|
use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead:
src/pages/networks.rs#L301
warning: use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead
--> src/pages/networks.rs:301:14
|
301 | .highlight_style(Style::new().reversed());
| ^^^^^^^^^^^^^^^
|
use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead:
src/pages/volumes.rs#L309
warning: use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead
--> src/pages/volumes.rs:309:14
|
309 | .highlight_style(Style::new().reversed());
| ^^^^^^^^^^^^^^^
|
use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.:
src/ui/page_manager.rs#L185
warning: use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.
--> src/ui/page_manager.rs:185:67
|
185 | let title = Title::from(format!("< {} >", title_message)).alignment(Alignment::Center);
| ^^^^^^^^^
|
manually reimplementing `div_ceil`:
src/components/help.rs#L84
warning: manually reimplementing `div_ceil`
--> src/components/help.rs:84:13
|
84 | (self.displays.len() + (group_height as usize) - 1) / (group_height as usize);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `self.displays.len().div_ceil((group_height as usize))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil
= note: `#[warn(clippy::manual_div_ceil)]` on by default
|
the following explicit lifetimes could be elided: 'a:
src/widgets/modal.rs#L30
warning: the following explicit lifetimes could be elided: 'a
--> src/widgets/modal.rs:30:6
|
30 | impl<'a> Default for ModalWidget<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
30 - impl<'a> Default for ModalWidget<'a> {
30 + impl Default for ModalWidget<'_> {
|
|
use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.:
src/components/alert_modal.rs#L76
warning: use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.
--> src/components/alert_modal.rs:76:72
|
76 | let title = Title::from(format!("< {} >", self.title.clone())).alignment(Alignment::Center);
| ^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.:
src/components/boolean_modal.rs#L92
warning: use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.
--> src/components/boolean_modal.rs:92:72
|
92 | let title = Title::from(format!("< {} >", self.title.clone())).alignment(Alignment::Center);
| ^^^^^^^^^
|
use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.:
src/components/resize_notice.rs#L82
warning: use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.
--> src/components/resize_notice.rs:82:58
|
82 | .title(Title::from("< Terminal Too Small >").alignment(layout::Alignment::Center))
| ^^^^^^^^^
|
use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead:
src/pages/containers.rs#L355
warning: use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead
--> src/pages/containers.rs:355:14
|
355 | .highlight_style(Style::new().reversed());
| ^^^^^^^^^^^^^^^
|
use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead:
src/pages/images.rs#L312
warning: use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead
--> src/pages/images.rs:312:14
|
312 | .highlight_style(Style::new().reversed());
| ^^^^^^^^^^^^^^^
|
use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead:
src/pages/networks.rs#L301
warning: use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead
--> src/pages/networks.rs:301:14
|
301 | .highlight_style(Style::new().reversed());
| ^^^^^^^^^^^^^^^
|
use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead:
src/pages/volumes.rs#L309
warning: use of deprecated method `ratatui::widgets::Table::<'a>::highlight_style`: use `Table::row_highlight_style` instead
--> src/pages/volumes.rs:309:14
|
309 | .highlight_style(Style::new().reversed());
| ^^^^^^^^^^^^^^^
|
use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.:
src/ui/page_manager.rs#L185
warning: use of deprecated method `ratatui::widgets::block::Title::<'a>::alignment`: use Block::title_top() or Block::title_bottom() instead. This will be removed in a future release.
--> src/ui/page_manager.rs:185:67
|
185 | let title = Title::from(format!("< {} >", title_message)).alignment(Alignment::Center);
| ^^^^^^^^^
|
manually reimplementing `div_ceil`:
src/components/help.rs#L84
warning: manually reimplementing `div_ceil`
--> src/components/help.rs:84:13
|
84 | (self.displays.len() + (group_height as usize) - 1) / (group_height as usize);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `self.displays.len().div_ceil((group_height as usize))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil
= note: `#[warn(clippy::manual_div_ceil)]` on by default
|
the following explicit lifetimes could be elided: 'a:
src/widgets/modal.rs#L30
warning: the following explicit lifetimes could be elided: 'a
--> src/widgets/modal.rs:30:6
|
30 | impl<'a> Default for ModalWidget<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
30 - impl<'a> Default for ModalWidget<'a> {
30 + impl Default for ModalWidget<'_> {
|
|