Merge pull request #104 from hyst329/master

Fixes issue #103
This commit is contained in:
Alexandre Bury 2017-02-01 10:13:06 -08:00 committed by GitHub
commit 412f3304f3
2 changed files with 10 additions and 5 deletions

View File

@ -7,8 +7,8 @@ script:
- cargo build --verbose
- cargo test --verbose
-
- cargo build --verbose --features=pancurses --no-default-features
- cargo test --verbose --features=pancurses --no-default-features
- cargo build --verbose --features=pancurses-backend --no-default-features
- cargo test --verbose --features=pancurses-backend --no-default-features
-
- cargo build --verbose --features=termion --no-default-features
- cargo test --verbose --features=termion --no-default-features
- cargo build --verbose --features=termion-backend --no-default-features
- cargo test --verbose --features=termion-backend --no-default-features

View File

@ -22,12 +22,15 @@ version = "0.6"
[dependencies]
chan = "0.1.18"
num = "0.1"
chan-signal = "0.1"
odds = "0.2"
toml = "0.2"
unicode-segmentation = "1.0"
unicode-width = "0.1"
[dependencies.chan-signal]
optional = true
version = "0.1"
[dependencies.bear-lib-terminal]
optional = true
version = "1.3.1"
@ -52,6 +55,8 @@ skeptic = "0.6"
[features]
default = ["ncurses"]
termion-backend = ["termion", "chan-signal"]
pancurses-backend = ["pancurses"]
[lib]
name = "cursive"