News for hackers. Stuff that matters.
Re:Show HN: tere – A Faster Alternative to cd+ls by bowsamic on Friday July 15, 2022 @05:48AM (#32106425)
Some Rust dependency bloat is pretty common, because a lot of idiomatic approaches are hidden behind dependencies. I don't think it's particularly crazy in this situation. The actual dependencies directly used are relatively lean:

crossterm = "0.24.0"

dirs = "4.0.0"

regex = "1.5.4"

serde_json = "1.0"

serde = { version = "1.0", features = ["rc"] }

textwrap = "0.14"

unicode-segmentation = "1.7"

I guess one could write their own textwrap and probably also dirs, but other than that they all are probably vital to this tool.

The only reason this wouldn't be a problem in another language would be because that language already includes the functionality of such libraries

Re:Show HN: tere – A Faster Alternative to cd+ls by chrismorgan on Friday July 15, 2022 @06:22AM (#32106618)
You missed clap for the CLI because it was written in table form:

  [dependencies.clap]
  version = "3"
  default-features = false
  features = ["wrap_help", "suggestions", "std"]