Added *-backend features

This commit is contained in:
hyst329 2017-02-01 20:59:17 +03:00
parent 4755cc8aee
commit 35c0cb1050
2 changed files with 5 additions and 4 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

@ -56,6 +56,7 @@ skeptic = "0.6"
[features]
default = ["ncurses"]
termion-backend = ["termion", "chan-signal"]
pancurses-backend = ["pancurses"]
[lib]
name = "cursive"