Skip to content

Commit

Permalink
remove!: All termion-related features are now removed and obsolete.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Byron committed Dec 7, 2023
1 parent 3c28eb0 commit b1fd37d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 0 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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",
Expand All @@ -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"]
Expand Down
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1fd37d

Please sign in to comment.