mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-12 20:23:35 +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"
|
version = "0.6"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
chan = "0.1.18"
|
|
||||||
num = "0.1"
|
num = "0.1"
|
||||||
odds = "0.2"
|
odds = "0.2"
|
||||||
toml = "0.2"
|
toml = "0.2"
|
||||||
unicode-segmentation = "1.0"
|
unicode-segmentation = "1.0"
|
||||||
unicode-width = "0.1"
|
unicode-width = "0.1"
|
||||||
|
|
||||||
|
[dependencies.chan]
|
||||||
|
optional = true
|
||||||
|
version = "0.1.18"
|
||||||
|
|
||||||
[dependencies.chan-signal]
|
[dependencies.chan-signal]
|
||||||
optional = true
|
optional = true
|
||||||
version = "0.1"
|
version = "0.1"
|
||||||
@ -55,7 +58,7 @@ skeptic = "0.6"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["ncurses"]
|
default = ["ncurses"]
|
||||||
termion-backend = ["termion", "chan-signal"]
|
termion-backend = ["termion", "chan", "chan-signal"]
|
||||||
pancurses-backend = ["pancurses"]
|
pancurses-backend = ["pancurses"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
@ -65,6 +65,7 @@ extern crate unicode_width;
|
|||||||
extern crate odds;
|
extern crate odds;
|
||||||
extern crate num;
|
extern crate num;
|
||||||
|
|
||||||
|
#[cfg(feature = "termion")]
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate chan;
|
extern crate chan;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user