Refactor Cargo.toml to only enable "termion" feature by default

This commit is contained in:
Florian Dehau 2017-05-25 15:17:08 +02:00
parent 28accd529a
commit 419f2aadb2

View file

@ -14,7 +14,7 @@ exclude = ["docs", ".travis.yml"]
travis-ci = { repository = "fdehau/tui-rs" } travis-ci = { repository = "fdehau/tui-rs" }
[features] [features]
default = ["rustbox", "termion"] default = ["termion"]
[dependencies] [dependencies]
bitflags = "0.7.0" bitflags = "0.7.0"
@ -28,3 +28,8 @@ rustbox = { version = "0.9.0", optional = true }
[dev-dependencies] [dev-dependencies]
log4rs = "0.5.2" log4rs = "0.5.2"
rand = "0.3.15" rand = "0.3.15"
[[example]]
name = "rustbox"
path = "examples/rustbox.rs"
required-features = ["rustbox"]