mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-24 01:46:31 +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"
|
enum-map = "0.2.24"
|
||||||
enumset = "0.3.3"
|
enumset = "0.3.3"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
maplit = "1.0.0"
|
|
||||||
num = "0.1"
|
num = "0.1"
|
||||||
owning_ref = "0.3.3"
|
owning_ref = "0.3.3"
|
||||||
toml = "0.4"
|
toml = "0.4"
|
||||||
@ -25,6 +24,10 @@ unicode-segmentation = "1.0"
|
|||||||
unicode-width = "0.1"
|
unicode-width = "0.1"
|
||||||
xi-unicode = "0.1.0"
|
xi-unicode = "0.1.0"
|
||||||
|
|
||||||
|
[dependencies.maplit]
|
||||||
|
optional = true
|
||||||
|
version = "1.0.0"
|
||||||
|
|
||||||
[dependencies.bear-lib-terminal]
|
[dependencies.bear-lib-terminal]
|
||||||
optional = true
|
optional = true
|
||||||
version = "1.3.1"
|
version = "1.3.1"
|
||||||
@ -63,7 +66,7 @@ rand = "0.4"
|
|||||||
blt-backend = ["bear-lib-terminal"]
|
blt-backend = ["bear-lib-terminal"]
|
||||||
default = ["ncurses-backend"]
|
default = ["ncurses-backend"]
|
||||||
markdown = ["pulldown-cmark"]
|
markdown = ["pulldown-cmark"]
|
||||||
ncurses-backend = ["ncurses"]
|
ncurses-backend = ["ncurses", "maplit"]
|
||||||
pancurses-backend = ["pancurses"]
|
pancurses-backend = ["pancurses"]
|
||||||
termion-backend = ["termion", "chan", "chan-signal"]
|
termion-backend = ["termion", "chan", "chan-signal"]
|
||||||
|
|
||||||
|
@ -67,6 +67,8 @@ extern crate enum_map;
|
|||||||
extern crate enumset;
|
extern crate enumset;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate log;
|
extern crate log;
|
||||||
|
|
||||||
|
#[cfg(feature = "ncurses")]
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate maplit;
|
extern crate maplit;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user