Trim binary size by reducing skim dependencies

This commit is contained in:
Arijit Basu 2023-04-23 15:28:16 +05:30
parent 8aff0ba918
commit 9ffe84e2d1
No known key found for this signature in database
GPG Key ID: 0F8EF5258DC38077
2 changed files with 1 additions and 34 deletions

33
Cargo.lock generated
View File

@ -209,13 +209,9 @@ version = "3.2.23"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5"
dependencies = [ dependencies = [
"atty",
"bitflags", "bitflags",
"clap_lex", "clap_lex",
"indexmap", "indexmap",
"once_cell",
"strsim",
"termcolor",
"textwrap", "textwrap",
] ]
@ -551,19 +547,6 @@ version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" 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]] [[package]]
name = "erased-serde" name = "erased-serde"
version = "0.3.25" version = "0.3.25"
@ -651,12 +634,6 @@ dependencies = [
"libm", "libm",
] ]
[[package]]
name = "humantime"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]] [[package]]
name = "iana-time-zone" name = "iana-time-zone"
version = "0.1.54" version = "0.1.54"
@ -1282,12 +1259,6 @@ dependencies = [
"unsafe-libyaml", "unsafe-libyaml",
] ]
[[package]]
name = "shlex"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
[[package]] [[package]]
name = "signal-hook" name = "signal-hook"
version = "0.3.15" version = "0.3.15"
@ -1324,22 +1295,18 @@ version = "0.10.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5d28de0a6cb2cdd83a076f1de9d965b973ae08b244df1aa70b432946dda0f32" checksum = "e5d28de0a6cb2cdd83a076f1de9d965b973ae08b244df1aa70b432946dda0f32"
dependencies = [ dependencies = [
"atty",
"beef", "beef",
"bitflags", "bitflags",
"chrono", "chrono",
"clap",
"crossbeam", "crossbeam",
"defer-drop", "defer-drop",
"derive_builder", "derive_builder",
"env_logger",
"fuzzy-matcher", "fuzzy-matcher",
"lazy_static", "lazy_static",
"log", "log",
"nix 0.25.1", "nix 0.25.1",
"rayon", "rayon",
"regex", "regex",
"shlex",
"time 0.3.20", "time 0.3.20",
"timer", "timer",
"tuikit", "tuikit",

View File

@ -38,7 +38,7 @@ which = "4.4.0"
nu-ansi-term = "0.47.0" nu-ansi-term = "0.47.0"
textwrap = "0.16" textwrap = "0.16"
snailquote = "0.3.1" 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"] } time = { version = "0.3.20", features = ["serde", "local-offset", "formatting", "macros"] }
[dependencies.lscolors] [dependencies.lscolors]