diff --git a/Cargo.lock b/Cargo.lock index 6403959..f92a5d8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -68,9 +68,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.91" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c042108f3ed77fd83760a5fd79b53be043192bb3b9dba91d8c574c0ada7850c8" +checksum = "4c95c10ba0b00a02636238b814946408b1322d5ac4760326e6fb8ec956d85775" [[package]] name = "autocfg" @@ -454,6 +454,12 @@ dependencies = [ "hashbrown", ] +[[package]] +name = "indoc" +version = "2.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" + [[package]] name = "instability" version = "0.3.2" @@ -680,23 +686,23 @@ dependencies = [ [[package]] name = "ratatui" -version = "0.28.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdef7f9be5c0122f890d58bdf4d964349ba6a6161f705907526d891efabba57d" +checksum = "eabd94c2f37801c20583fc49dd5cd6b0ba68c716787c2dd6ed18571e1e63117b" dependencies = [ "bitflags", "cassowary", "compact_str", "crossterm", + "indoc", "instability", "itertools", "lru", "paste", "strum", - "strum_macros", "unicode-segmentation", "unicode-truncate", - "unicode-width", + "unicode-width 0.2.0", ] [[package]] @@ -1065,12 +1071,12 @@ dependencies = [ [[package]] name = "tui-tree-widget" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df0b54061d997162f225bed5d2147574af0648480214759a000e33f6cea0017a" +checksum = "fcc95ebc9c578c67223514d0e10a75c3b996d1f22dc93a4792475260f7c3c11e" dependencies = [ "ratatui", - "unicode-width", + "unicode-width 0.2.0", ] [[package]] @@ -1093,7 +1099,7 @@ checksum = "b3644627a5af5fa321c95b9b235a72fd24cd29c648c2c379431e6628655627bf" dependencies = [ "itertools", "unicode-segmentation", - "unicode-width", + "unicode-width 0.1.14", ] [[package]] @@ -1102,6 +1108,12 @@ version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" +[[package]] +name = "unicode-width" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" + [[package]] name = "utf8parse" version = "0.2.2" diff --git a/Cargo.toml b/Cargo.toml index 45e135d..a6fc6bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,20 +11,20 @@ repository = "https://github.com/fioncat/otree" description = "A command line tool to view objects (json/yaml/toml) in TUI tree widget" [dependencies] -anyhow = "1.0.90" +anyhow = "1.0.93" clap = { version = "4.5.20", features = ["derive"] } crossterm = { version = "0.28.1", features = ["use-dev-tty"] } dirs = "5.0.1" humansize = "2.1.3" once_cell = "1.20.2" paste = "1.0.15" -ratatui = "0.28.1" +ratatui = "0.29.0" regex = "1.11.0" serde = { version = "1.0.210", features = ["derive"] } serde_json = { version = "1.0.132", features = ["preserve_order"] } serde_yml = "0.0.12" toml = { version = "0.8.19", features = ["preserve_order"] } -tui-tree-widget = "0.22.0" +tui-tree-widget = "0.23.0" [build-dependencies] simple-error = "0.3.0"