Skip to content

Commit

Permalink
cleanup, remove unused deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jul 5, 2020
1 parent 3848635 commit 050a821
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ tui-renderer = ["tui",
"unicode-width",
"crosstermion/async",
"tui-react",
"futures-channel",
"futures-util",
"futures-core",
"smol",
Expand Down Expand Up @@ -66,7 +65,6 @@ all-features = true
rand = "0.7.3"
env_logger = { version = "0.7.1", default-features = false, features = ["termcolor", "atty", "humantime"] }
criterion = "0.3.1"
futures = "0.3.5"
argh = "0.1.3"

[[bench]]
Expand Down
10 changes: 7 additions & 3 deletions crosstermion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ readme = "README.md"

[features]
default = []
tui-termion-backend = ["tui/termion"]
tui-crossterm-backend = ["tui/crossterm"]
async = ["futures-channel", "futures-util", "smol"]

tui-termion = ["tui", "tui-termion-backend", "termion"]
tui-react-termion = ["tui-react", "tui", "tui-termion-backend", "termion"]

tui-crossterm = ["tui", "tui-crossterm-backend", "crossterm"]
tui-react-crossterm = ["tui-react", "tui", "tui-crossterm-backend", "crossterm"]
async = ["futures-channel", "futures-util", "smol"]

tui-termion-backend = ["tui/termion"] # redirect is needed to allow us to #[cfg(feature = "…")] against it. You can't see featuers of crates
tui-crossterm-backend = ["tui/crossterm"]


[dependencies]
crossterm = { version = "0.17.5", optional = true, default-features = false }
Expand Down

0 comments on commit 050a821

Please sign in to comment.