diff options
author | Akshay <[email protected]> | 2020-08-04 07:47:09 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-08-04 07:47:09 +0100 |
commit | 403d114d8296fe37dbdb509449a2fee2badb8d37 (patch) | |
tree | 05bb0d1cc7aced39fed3049c30221e30281698c4 /Cargo.toml | |
parent | 807f945a08e0ff28968194c098a0a05a6a79ba09 (diff) |
add feature to compile on windows, switch to termion
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -24,7 +24,6 @@ toml = "0.5.6" | |||
24 | [dependencies.cursive] | 24 | [dependencies.cursive] |
25 | version = "0.15" | 25 | version = "0.15" |
26 | default-features = false | 26 | default-features = false |
27 | features = ["pancurses-backend"] | ||
28 | 27 | ||
29 | [dependencies.chrono] | 28 | [dependencies.chrono] |
30 | version = "0.4" | 29 | version = "0.4" |
@@ -33,3 +32,8 @@ features = ["serde"] | |||
33 | [dependencies.serde] | 32 | [dependencies.serde] |
34 | version = "1.0.103" | 33 | version = "1.0.103" |
35 | features = ["derive"] | 34 | features = ["derive"] |
35 | |||
36 | [features] | ||
37 | default = ["termion-backend"] | ||
38 | termion-backend = ["cursive/termion-backend"] | ||
39 | crossterm-backend = ["cursive/crossterm-backend"] | ||