From 59c71355a94e0ac95132e3db5349b9ed5eb8efe5 Mon Sep 17 00:00:00 2001 From: Kunal Mohan <44079328+kunalmohan@users.noreply.github.com> Date: Tue, 4 Jan 2022 23:49:53 +0530 Subject: [PATCH] Remove unused dependency - termbg (#992) --- Cargo.lock | 52 ++-------------------------------------- zellij-client/Cargo.toml | 3 +-- 2 files changed, 3 insertions(+), 52 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f909d695..060f2895 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -153,7 +153,7 @@ dependencies = [ "futures-lite", "libc", "once_cell", - "signal-hook 0.3.10", + "signal-hook", "winapi", ] @@ -557,31 +557,6 @@ dependencies = [ "lazy_static", ] -[[package]] -name = "crossterm" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c36c10130df424b2f3552fcc2ddcd9b28a27b1e54b358b45874f88d1ca6888c" -dependencies = [ - "bitflags", - "crossterm_winapi", - "lazy_static", - "libc", - "mio", - "parking_lot", - "signal-hook 0.1.17", - "winapi", -] - -[[package]] -name = "crossterm_winapi" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0da8964ace4d3e4a044fd027919b2237000b24315a37c916f61809f1ff2140b9" -dependencies = [ - "winapi", -] - [[package]] name = "ctor" version = "0.1.21" @@ -1985,17 +1960,6 @@ dependencies = [ "yaml-rust", ] -[[package]] -name = "signal-hook" -version = "0.1.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e31d442c16f047a671b5a71e2161d6e68814012b7f5379d269ebd915fac2729" -dependencies = [ - "libc", - "mio", - "signal-hook-registry", -] - [[package]] name = "signal-hook" version = "0.3.10" @@ -2214,17 +2178,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "termbg" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dde5fb83dfdf1491b3615ff3b5fa92c54132d2a67bf24f2a812b3d88d39b55e9" -dependencies = [ - "crossterm", - "thiserror", - "winapi", -] - [[package]] name = "terminal_size" version = "0.1.17" @@ -2901,7 +2854,6 @@ dependencies = [ "insta", "log", "mio", - "termbg", "terminfo", "zellij-tile", "zellij-utils", @@ -2972,7 +2924,7 @@ dependencies = [ "serde", "serde_json", "serde_yaml", - "signal-hook 0.3.10", + "signal-hook", "strip-ansi-escapes", "structopt", "strum", diff --git a/zellij-client/Cargo.toml b/zellij-client/Cargo.toml index c30c9801..4e96cf89 100644 --- a/zellij-client/Cargo.toml +++ b/zellij-client/Cargo.toml @@ -9,8 +9,7 @@ license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -mio = "0.7.11" -termbg = "0.2.3" +mio = { version = "0.7.11", features = ['os-ext'] } zellij-utils = { path = "../zellij-utils/", version = "0.24.0" } zellij-tile = { path = "../zellij-tile/", version = "0.24.0" } log = "0.4.14"