Skip to content

Commit

Permalink
Reduce the size of the linutil binary by removing unused features fro…
Browse files Browse the repository at this point in the history
…m tui/Cargo.toml (#922)

Co-authored-by: zdiff <zdiff@localhost>
  • Loading branch information
zdiff and zdiff authored Nov 11, 2024
1 parent c4ad5a9 commit 16dd91c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 106 deletions.
113 changes: 16 additions & 97 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions tui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ default = ["tips"]
tips = ["rand"]

[dependencies]
clap = { version = "4.5.20", features = ["derive"] }
oneshot = "0.1.8"
clap = { version = "4.5.20", features = ["derive", "std"], default-features = false }
oneshot = { version = "0.1.8", features = ["std"], default-features = false }
portable-pty = "0.8.1"
ratatui = "0.29.0"
ratatui = { version = "0.29.0", features = ["crossterm"], default-features = false }
tui-term = "0.2.0"
temp-dir = "0.1.14"
time = { version = "0.3.36", features = ["local-offset", "macros", "formatting"] }
unicode-width = "0.2.0"
time = { version = "0.3.36", features = ["formatting", "local-offset", "macros"], default-features = false }
unicode-width = { version = "0.2.0", default-features = false }
rand = { version = "0.8.5", optional = true }
linutil_core = { path = "../core", version = "24.9.28" }
linutil_core = { version = "24.9.28", path = "../core" }
tree-sitter-highlight = "0.24.3"
tree-sitter-bash = "0.23.1"
textwrap = "0.16.1"
anstyle = "1.0.8"
ansi-to-tui = "7.0.0"
textwrap = { version = "0.16.1", default-features = false }
anstyle = { version = "1.0.8", default-features = false }
ansi-to-tui = { version = "7.0.0", default-features = false }
zips = "0.1.7"

[[bin]]
Expand Down

0 comments on commit 16dd91c

Please sign in to comment.