From 19655051f75ee59485056ef1001484b9c5f2b920 Mon Sep 17 00:00:00 2001 From: Dheepak Krishnamurthy Date: Mon, 27 Jul 2020 02:41:56 -0600 Subject: [PATCH] Make backend explicit --- .github/workflows/ci.yml | 2 +- Cargo.toml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f2189a..73089ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: if: matrix.os != 'windows-latest' with: command: build - args: --release --target=${{ matrix.target }} + args: --release --features=termion-backend --target=${{ matrix.target }} - uses: actions-rs/cargo@v1 if: matrix.os == 'windows-latest' with: diff --git a/Cargo.toml b/Cargo.toml index ef9e7f6..e10f239 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,6 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] -default = ["termion-backend"] termion-backend = ["tui/termion", "termion"] crossterm-backend = ["tui/crossterm", "crossterm"] @@ -17,7 +16,7 @@ tui = "0.10.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" task-hookrs = "0.7.0" -termion = { version = "1.5.4", optional = true } +termion = { version = "1.5", optional = true } crossterm = { version = "0.17", optional = true } rand = "0.7" shlex = "0.1.1"