From b1fd37d272c59249c151e1dbf498d5e2767f5507 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 7 Dec 2023 17:21:30 +0100 Subject: [PATCH] remove!: All `termion`-related features are now removed and obsolete. After the most recent update, certion event-related features in crosstermion stopped working in the context of the GUI, so it's probably best to let it go. By now, `crosstermion` is also very much a more portable replacement. --- .github/workflows/ci.yml | 5 ----- Cargo.toml | 7 ------- Makefile | 5 ----- 3 files changed, 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f9d67a..624ba25 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,11 +17,6 @@ jobs: run: cargo clippy - name: tests run: make tests - - name: "Check (termion)" - uses: actions-rs/cargo@v1 - with: - command: check - args: --features=render-tui-termion --all --bins --tests --examples - name: "Check (crossterm)" uses: actions-rs/cargo@v1 with: diff --git a/Cargo.toml b/Cargo.toml index 9abc655..af683cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,11 +17,6 @@ name = "dashboard" path = "examples/dashboard.rs" required-features = ["render-tui", "render-tui-crossterm", "render-line", "render-line-crossterm", "signal-hook", "render-line-autoconfigure", "progress-tree"] -[[example]] -name = "dashboard-termion" -path = "examples/dashboard.rs" -required-features = ["render-tui", "render-tui-termion", "render-line", "render-line-termion", "progress-tree"] - [[example]] name = "units" path = "examples/units.rs" @@ -45,7 +40,6 @@ progress-log = ["log"] unit-bytes = ["bytesize"] unit-human = ["human_format"] unit-duration = ["humantime"] -render-tui-termion = ["crosstermion/tui-react-termion"] render-tui-crossterm = ["crosstermion/tui-react-crossterm", "crosstermion/input-async-crossterm"] render-tui = ["tui", "unicode-segmentation", @@ -58,7 +52,6 @@ render-tui = ["tui", "humantime"] render-line = ["crosstermion/color", "humantime", "unicode-width"] render-line-crossterm = ["crosstermion/crossterm"] -render-line-termion = ["crosstermion/termion"] render-line-autoconfigure = ["is-terminal"] local-time = ["time"] diff --git a/Makefile b/Makefile index 004dd57..59a6c6f 100644 --- a/Makefile +++ b/Makefile @@ -13,12 +13,7 @@ check: ## build features in commmon combination to be sure it all stays together cargo check --no-default-features cargo check --features progress-tree,progress-tree-hp-hashmap cargo check --features render-tui,render-tui-crossterm - cargo check --features render-tui,render-tui-termion - cargo check --features render-line,render-line-termion - cargo check --features render-line,render-line-termion,render-line-autoconfigure - cargo check --features render-line,render-line-termion,render-line-autoconfigure,signal-hook cargo check --features render-line,render-line-crossterm - cargo check --features render-line,render-line-termion,render-tui,render-tui-termion --example dashboard-termion cargo check --features render-line,render-line-crossterm,render-tui,render-tui-crossterm,signal-hook,render-line-autoconfigure --example dashboard cargo check --features unit-bytes,unit-duration,unit-human,render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook --example units cargo check