From 63a26044c82b4d3b50f0042a258db5ba136f0121 Mon Sep 17 00:00:00 2001 From: Josh McKinney Date: Thu, 27 Jun 2024 15:57:25 -0700 Subject: [PATCH] Bump Ratatui to 0.27.0 - Updates termion and termwiz - Fixes issue where tui-textarea picks up the wrong versions of packages https://github.com/rhysd/tui-textarea/pull/61\#discussion_r1597672569 - Replaces #61 --- Cargo.toml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fe9766f..e94525f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,13 +14,7 @@ repository = "https://github.com/rhysd/tui-textarea" readme = "README.md" categories = ["text-editors", "text-processing"] keywords = ["tui", "textarea", "editor", "input", "ratatui"] -include = [ - "/src", - "/examples", - "/tests", - "/README.md", - "/LICENSE.txt", -] +include = ["/src", "/examples", "/tests", "/README.md", "/LICENSE.txt"] [features] default = ["crossterm"] @@ -42,10 +36,10 @@ search = ["dep:regex"] arbitrary = { version = "1", features = ["derive"], optional = true } crossterm = { package = "crossterm", version = "0.27", optional = true } crossterm-025 = { package = "crossterm", version = "0.25", optional = true } -ratatui = { version = ">=0.23.0, <1", default-features = false, optional = true } +ratatui = { version = "0.27", default-features = false, optional = true } regex = { version = "1", optional = true } -termion = { version = "2.0", optional = true } -termwiz = { version = "0.20.0", optional = true } +termion = { version = "4.0", optional = true } +termwiz = { version = "0.22.0", optional = true } tui = { version = "0.19", default-features = false, optional = true } unicode-width = "0.1.11" @@ -102,9 +96,7 @@ name = "tuirs_termion" required-features = ["tuirs-termion"] [workspace] -members = [ - "bench", -] +members = ["bench"] [profile.bench] lto = "thin"