make crossterm dependency optional

This commit is contained in:
2022-10-25 22:40:56 +02:00
parent 7fa6be6ff4
commit 7cec54f62b
5 changed files with 37 additions and 242 deletions

View File

@@ -12,5 +12,4 @@ lexopt = "0.2.1"
anyhow = "1"
thiserror = "1.0.36"
pbr = "1"
crossterm = { version = "0.25.0", default-features = false }
terminal = { version = "0.2.1", default-features = false, features = ["crossterm-backend"] }
crossterm = { version = "0.25.0", default-features = false, optional = true }