From b4723a5a8ce86e091df065f025d648de8394099d Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Sat, 30 Apr 2022 08:43:22 -0300 Subject: [PATCH] chore(deps): Remove unused TUI dependency (#268) --- Cargo.lock | 70 ++++-------------------------------------------------- Cargo.toml | 6 ----- 2 files changed, 4 insertions(+), 72 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4ac40f59..fe9b6c70 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -524,12 +524,6 @@ dependencies = [ "either", ] -[[package]] -name = "cassowary" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" - [[package]] name = "cc" version = "1.0.72" @@ -666,22 +660,6 @@ dependencies = [ "cfg-if 1.0.0", ] -[[package]] -name = "crossterm" -version = "0.22.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c85525306c4291d1b73ce93c8acf9c339f9b213aef6c1d85c3830cbf1c16325c" -dependencies = [ - "bitflags", - "crossterm_winapi", - "libc", - "mio 0.7.14", - "parking_lot 0.11.2", - "signal-hook", - "signal-hook-mio", - "winapi", -] - [[package]] name = "crossterm" version = "0.23.2" @@ -691,7 +669,7 @@ dependencies = [ "bitflags", "crossterm_winapi", "libc", - "mio 0.8.0", + "mio", "parking_lot 0.12.0", "signal-hook", "signal-hook-mio", @@ -1385,19 +1363,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "mio" -version = "0.7.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc" -dependencies = [ - "libc", - "log 0.4.16", - "miow", - "ntapi", - "winapi", -] - [[package]] name = "mio" version = "0.8.0" @@ -1590,7 +1555,7 @@ dependencies = [ "clap", "cloud-pubsub", "config", - "crossterm 0.23.2", + "crossterm", "elasticsearch", "env_logger", "file-rotate", @@ -1609,7 +1574,6 @@ dependencies = [ "strum", "strum_macros", "tokio", - "tui", ] [[package]] @@ -2229,8 +2193,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af" dependencies = [ "libc", - "mio 0.7.14", - "mio 0.8.0", + "mio", "signal-hook", ] @@ -2556,7 +2519,7 @@ dependencies = [ "bytes", "libc", "memchr", - "mio 0.8.0", + "mio", "num_cpus", "pin-project-lite", "socket2", @@ -2685,19 +2648,6 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" -[[package]] -name = "tui" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23ed0a32c88b039b73f1b6c5acbd0554bfa5b6be94467375fd947c4de3a02271" -dependencies = [ - "bitflags", - "cassowary", - "crossterm 0.22.1", - "unicode-segmentation", - "unicode-width", -] - [[package]] name = "twox-hash" version = "1.6.2" @@ -2724,18 +2674,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "unicode-segmentation" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8820f5d777f6224dc4be3632222971ac30164d4a258d595640799554ebfd99" - -[[package]] -name = "unicode-width" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" - [[package]] name = "unicode-xid" version = "0.2.2" diff --git a/Cargo.toml b/Cargo.toml index c3f3d82f..f883ac61 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,11 +35,6 @@ file-rotate = { version = "0.6.0", optional = true } # feature: webhook reqwest = { version = "0.11", optional = true, features = ["blocking", "json"] } -# feature: tuisink -tui = { version = "0.17", optional = true, default-features = false, features = [ - "crossterm", -] } - # feature: kafkasink kafka = { version = "0.8.0", optional = true } @@ -69,7 +64,6 @@ async-recursion = { version = "1.0.0", optional = true } default = [] logs = ["file-rotate"] webhook = ["reqwest"] -tuisink = ["tui"] kafkasink = ["kafka", "openssl"] elasticsink = ["elasticsearch", "tokio"] fingerprint = ["murmur3"]