mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-09 19:00:46 +00:00
Only include chan dependancy with termion backend.
We may want to use channels for all backend some day, but not today.
This commit is contained in:
parent
7d9cb03ffb
commit
6f129ac83d
@ -20,13 +20,16 @@ optional = true
|
||||
version = "0.6"
|
||||
|
||||
[dependencies]
|
||||
chan = "0.1.18"
|
||||
num = "0.1"
|
||||
odds = "0.2"
|
||||
toml = "0.2"
|
||||
unicode-segmentation = "1.0"
|
||||
unicode-width = "0.1"
|
||||
|
||||
[dependencies.chan]
|
||||
optional = true
|
||||
version = "0.1.18"
|
||||
|
||||
[dependencies.chan-signal]
|
||||
optional = true
|
||||
version = "0.1"
|
||||
@ -55,7 +58,7 @@ skeptic = "0.6"
|
||||
|
||||
[features]
|
||||
default = ["ncurses"]
|
||||
termion-backend = ["termion", "chan-signal"]
|
||||
termion-backend = ["termion", "chan", "chan-signal"]
|
||||
pancurses-backend = ["pancurses"]
|
||||
|
||||
[lib]
|
||||
|
@ -65,6 +65,7 @@ extern crate unicode_width;
|
||||
extern crate odds;
|
||||
extern crate num;
|
||||
|
||||
#[cfg(feature = "termion")]
|
||||
#[macro_use]
|
||||
extern crate chan;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user