diff --git a/Cargo.lock b/Cargo.lock index 75d7cf4e..767d9f30 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -300,12 +300,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df" dependencies = [ "bitflags 2.4.0", + "crossterm_winapi", "futures-core", "libc", "mio", "parking_lot", "signal-hook", "signal-hook-mio", + "winapi", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 9a443d94..80d5da04 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,10 +11,6 @@ edition = "2018" keywords = ["taskwarrior", "tui"] categories = ["command-line-utilities"] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[features] -default = ["crossterm-backend"] -crossterm-backend = ["tui/crossterm", "crossterm"] [dependencies] anyhow = "1.0.75" @@ -22,7 +18,7 @@ better-panic = "0.3.0" cassowary = "0.3.0" chrono = "0.4.26" clap = { version = "4.4.0", features = ["derive"] } -crossterm = { version = "0.27.0", optional = true, default-features = false, features = [ +crossterm = { version = "0.27.0", features = [ "event-stream", ] } dirs = "5.0.1"