From b6754461bcb7bfbd1794986e41114f59738fa955 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 3 May 2021 07:42:36 +0800 Subject: Fix build (use the latest version of crosstermion, too) --- Cargo.lock | 52 +++++++++++++++------------------------------------- Cargo.toml | 5 +---- 2 files changed, 16 insertions(+), 41 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 06ceabb..f393e27 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -173,9 +173,9 @@ dependencies = [ [[package]] name = "crossterm" -version = "0.18.2" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e86d73f2a0b407b5768d10a8c720cf5d2df49a9efc10ca09176d201ead4b7fb" +checksum = "7c36c10130df424b2f3552fcc2ddcd9b28a27b1e54b358b45874f88d1ca6888c" dependencies = [ "bitflags", "crossterm_winapi", @@ -189,23 +189,23 @@ dependencies = [ [[package]] name = "crossterm_winapi" -version = "0.6.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2265c3f8e080075d9b6417aa72293fc71662f34b4af2612d8d1b074d29510db" +checksum = "0da8964ace4d3e4a044fd027919b2237000b24315a37c916f61809f1ff2140b9" dependencies = [ "winapi", ] [[package]] name = "crosstermion" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f7178f7bf5b76e0807edbd7fd2bb40755b0c7d27aa5c68a6e32e894d8460272" +checksum = "903089452f4f63382e947d7a66bddcde56c111083b1342511bd48f7e3db72424" dependencies = [ "crossterm", "termion", - "tui 0.14.0", - "tui-react 0.14.0", + "tui", + "tui-react", ] [[package]] @@ -241,8 +241,8 @@ dependencies = [ "open", "petgraph", "pretty_assertions", - "tui 0.14.0", - "tui-react 0.14.0", + "tui", + "tui-react", "unicode-segmentation", "wild", ] @@ -658,20 +658,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "tui" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ced152a8e9295a5b168adc254074525c17ac4a83c90b2716274cc38118bddc9" -dependencies = [ - "bitflags", - "cassowary", - "crossterm", - "termion", - "unicode-segmentation", - "unicode-width", -] - [[package]] name = "tui" version = "0.15.0" @@ -680,18 +666,8 @@ checksum = "861d8f3ad314ede6219bcb2ab844054b1de279ee37a9bc38e3d606f9d3fb2a71" dependencies = [ "bitflags", "cassowary", - "unicode-segmentation", - "unicode-width", -] - -[[package]] -name = "tui-react" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe492db1ef5abbac0d46d1fe6a53881c77fd53c1be03ee45d366e2a8ef83f4fa" -dependencies = [ - "log", - "tui 0.14.0", + "crossterm", + "termion", "unicode-segmentation", "unicode-width", ] @@ -699,9 +675,11 @@ dependencies = [ [[package]] name = "tui-react" version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "404489a7eb4be7ab5580932b233c381dae91b5358ceb9ec1cfcb193487348126" dependencies = [ "log", - "tui 0.15.0", + "tui", "unicode-segmentation", "unicode-width", ] diff --git a/Cargo.toml b/Cargo.toml index 4fa621e..8829b1e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ colored = "2.0.0" # 'tui' related unicode-segmentation = { version = "1.3.0", optional = true } -crosstermion = { optional = true, version = "0.6.0", default-features = false } +crosstermion = { optional = true, version = "0.7.0", default-features = false } tui = { version = "0.15.0", optional = true, default-features = false } tui-react = { version = "0.15.0", optional = true } open = { version = "1.2.2", optional = true } @@ -53,6 +53,3 @@ build-override = { opt-level = 0 } [dev-dependencies] pretty_assertions = "0.6.1" - -[workspace] -members = ["tui-react"] -- cgit v1.2.3