From 7c26c48e1851bdd81a39f72c10a5d00d5f8e323c Mon Sep 17 00:00:00 2001 From: Arijit Basu Date: Sun, 23 Apr 2023 15:28:16 +0530 Subject: [PATCH] Trim binary size by reducing skim dependencies --- Cargo.lock | 33 --------------------------------- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5caba83..aa75fc3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -209,13 +209,9 @@ version = "3.2.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" dependencies = [ - "atty", "bitflags", "clap_lex", "indexmap", - "once_cell", - "strsim", - "termcolor", "textwrap", ] @@ -551,19 +547,6 @@ version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" -[[package]] -name = "env_logger" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" -dependencies = [ - "atty", - "humantime", - "log", - "regex", - "termcolor", -] - [[package]] name = "erased-serde" version = "0.3.25" @@ -651,12 +634,6 @@ dependencies = [ "libm", ] -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "iana-time-zone" version = "0.1.54" @@ -1282,12 +1259,6 @@ dependencies = [ "unsafe-libyaml", ] -[[package]] -name = "shlex" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" - [[package]] name = "signal-hook" version = "0.3.15" @@ -1324,22 +1295,18 @@ version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5d28de0a6cb2cdd83a076f1de9d965b973ae08b244df1aa70b432946dda0f32" dependencies = [ - "atty", "beef", "bitflags", "chrono", - "clap", "crossbeam", "defer-drop", "derive_builder", - "env_logger", "fuzzy-matcher", "lazy_static", "log", "nix 0.25.1", "rayon", "regex", - "shlex", "time 0.3.20", "timer", "tuikit", diff --git a/Cargo.toml b/Cargo.toml index 35b1c18..46860a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,7 +38,7 @@ which = "4.4.0" nu-ansi-term = "0.47.0" textwrap = "0.16" snailquote = "0.3.1" -skim = "0.10.4" +skim = { version = "0.10.4", default-features = false } time = { version = "0.3.20", features = ["serde", "local-offset", "formatting", "macros"] } [dependencies.lscolors]