Add ncurses-backend and blt-backend features

Not very useful for now since those backends don't need any extra crate,
but at least it improves coherence since there is termion-backend
already.
This commit is contained in:
Alexandre Bury 2017-03-07 13:42:32 -08:00
parent 633e274216
commit 9850e93125

View File

@ -57,9 +57,12 @@ rand = "0.3"
skeptic = "0.7"
[features]
default = ["ncurses"]
default = ["ncurses-backend"]
ncurses-backend = ["ncurses"]
termion-backend = ["termion", "chan", "chan-signal"]
pancurses-backend = ["pancurses"]
blt-backend = ["bear-lib-terminal"]
[lib]
name = "cursive"