Skip to content

Commit

Permalink
refactor: update to ratatui v0.27
Browse files Browse the repository at this point in the history
  • Loading branch information
EdJoPaTo committed Jul 9, 2024
1 parent d36dc70 commit 2af4f21
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 33 deletions.
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ updates:
commit-message:
prefix: "build(cargo):"
ignore:
- dependency-name: crossterm
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
- dependency-name: rustls*
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
- dependency-name: "*"
Expand Down
53 changes: 26 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ url = "2"
anyhow = "1"
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
clap = { version = "4", features = ["deprecated", "derive", "env", "wrap_help"] }
crossterm = "0.27"
ego-tree = "0.6"
rand = "0.8"
ratatui = "0.26"
ratatui = "0.27"
ratatui-binary-data-widget = { git = "https://github.com/EdJoPaTo/ratatui-binary-data-widget", branch = "main" }
rmpv = { version = "1", features = ["with-serde"] }
rumqttc = { version = "0.24", features = ["websocket"] }
Expand All @@ -44,7 +43,7 @@ rustls-pemfile = "2"
rustls-pki-types = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tui-tree-widget = "0.20"
tui-tree-widget = "0.21"
url = "2"

# https://crates.io/crates/cargo-deb
Expand Down
3 changes: 2 additions & 1 deletion src/interactive/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use std::time::{Duration, Instant};

use crossterm::event::{Event, KeyCode, KeyEvent, KeyModifiers, MouseButton, MouseEventKind};
use ratatui::crossterm::event::{Event, KeyCode, KeyEvent, KeyModifiers, MouseButton, MouseEventKind};
use ratatui::crossterm;
use ratatui::backend::{Backend, CrosstermBackend};
use ratatui::layout::{Alignment, Position, Rect};
use ratatui::text::Span;
Expand Down

0 comments on commit 2af4f21

Please sign in to comment.