deps: Update ratatui 0.22.0 (#1261)

* deps: bump ratatui to 0.22.0

* fix missing new fields
This commit is contained in:
Clement Tsang 2023-07-21 00:19:25 -04:00 committed by GitHub
parent d2b945957f
commit 646c9f191b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 4 deletions

20
Cargo.lock generated
View File

@ -597,6 +597,12 @@ dependencies = [
"hashbrown", "hashbrown",
] ]
[[package]]
name = "indoc"
version = "2.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c785eefb63ebd0e33416dfcb8d6da0bf27ce752843a45632a67bf10d4d4b5c4"
[[package]] [[package]]
name = "io-lifetimes" name = "io-lifetimes"
version = "1.0.11" version = "1.0.11"
@ -860,6 +866,12 @@ dependencies = [
"windows-targets", "windows-targets",
] ]
[[package]]
name = "paste"
version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c"
[[package]] [[package]]
name = "predicates" name = "predicates"
version = "3.0.3" version = "3.0.3"
@ -911,13 +923,15 @@ dependencies = [
[[package]] [[package]]
name = "ratatui" name = "ratatui"
version = "0.21.0" version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce841e0486e7c2412c3740168ede33adeba8e154a15107b879d8162d77c7174e" checksum = "8285baa38bdc9f879d92c0e37cb562ef38aa3aeefca22b3200186bc39242d3d5"
dependencies = [ dependencies = [
"bitflags 1.3.2", "bitflags 2.3.3",
"cassowary", "cassowary",
"crossterm", "crossterm",
"indoc",
"paste",
"unicode-segmentation", "unicode-segmentation",
"unicode-width", "unicode-width",
] ]

View File

@ -99,7 +99,7 @@ sysinfo = "=0.29.5"
thiserror = "1.0.43" thiserror = "1.0.43"
time = { version = "0.3.23", features = ["formatting", "macros"] } time = { version = "0.3.23", features = ["formatting", "macros"] }
toml_edit = { version = "0.19.14", features = ["serde"] } toml_edit = { version = "0.19.14", features = ["serde"] }
tui = { version = "0.21.0", package = "ratatui" } tui = { version = "0.22.0", package = "ratatui" }
unicode-segmentation = "1.10.1" unicode-segmentation = "1.10.1"
unicode-width = "0.1.10" unicode-width = "0.1.10"

View File

@ -207,6 +207,7 @@ impl<'a> Widget for PipeGauge<'a> {
bg: None, bg: None,
add_modifier: self.gauge_style.add_modifier, add_modifier: self.gauge_style.add_modifier,
sub_modifier: self.gauge_style.sub_modifier, sub_modifier: self.gauge_style.sub_modifier,
underline_color: None,
}); });
} }