Move windows to separate dependency.

This commit is contained in:
ClementTsang 2020-02-28 21:15:36 -05:00
parent 6d0136fa26
commit 2f5b5e7269

View file

@ -30,7 +30,6 @@ heim = "0.0.10"
log = "0.4.8"
regex = "1.3.4"
sysinfo = "0.11"
winapi = "0.3.8"
crossterm = "0.16"
tui = {version = "0.8", features = ["crossterm"], default-features = false }
lazy_static = "1.4.0"
@ -40,6 +39,9 @@ serde = {version = "1.0", features = ["derive"] }
unicode-segmentation = "1.6.0"
unicode-width = "0.1.7"
[target.'cfg(windows)'.dependencies]
winapi = "0.3.8"
[dev-dependencies]
assert_cmd = "0.12"
predicates = "1"