mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-24 14:36:42 +02:00
Make backend explicit
This commit is contained in:
parent
50dce6379d
commit
19655051f7
2 changed files with 2 additions and 3 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue