mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-27 11:16:03 +00:00
Only require maplit for ncurses bqckend
This commit is contained in:
parent
eb39e70e41
commit
767e225db0
@ -17,7 +17,6 @@ repository = "gyscos/Cursive"
|
||||
enum-map = "0.2.24"
|
||||
enumset = "0.3.3"
|
||||
log = "0.4"
|
||||
maplit = "1.0.0"
|
||||
num = "0.1"
|
||||
owning_ref = "0.3.3"
|
||||
toml = "0.4"
|
||||
@ -25,6 +24,10 @@ unicode-segmentation = "1.0"
|
||||
unicode-width = "0.1"
|
||||
xi-unicode = "0.1.0"
|
||||
|
||||
[dependencies.maplit]
|
||||
optional = true
|
||||
version = "1.0.0"
|
||||
|
||||
[dependencies.bear-lib-terminal]
|
||||
optional = true
|
||||
version = "1.3.1"
|
||||
@ -63,7 +66,7 @@ rand = "0.4"
|
||||
blt-backend = ["bear-lib-terminal"]
|
||||
default = ["ncurses-backend"]
|
||||
markdown = ["pulldown-cmark"]
|
||||
ncurses-backend = ["ncurses"]
|
||||
ncurses-backend = ["ncurses", "maplit"]
|
||||
pancurses-backend = ["pancurses"]
|
||||
termion-backend = ["termion", "chan", "chan-signal"]
|
||||
|
||||
|
@ -67,6 +67,8 @@ extern crate enum_map;
|
||||
extern crate enumset;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
|
||||
#[cfg(feature = "ncurses")]
|
||||
#[macro_use]
|
||||
extern crate maplit;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user