This has 10 additional deps. 10! Rust is the new Javascript.

Complaining about the number of dependencies is completely meaningless if you don't take into account what those dependencies do, and what the ecosystem looks like.

For example, `tray-icon` looks pretty useful for a lightweight app which basically is a tray icon: rewriting that library from scratch would be a massive waste of time.

On the other end of the spectrum, `log` and `serde` provide basic functionality which most languages will have in their standard library. Rust intentionally keeps a small standard library to avoid ossifying potentially bad ideas. The crates have tens of millions of users, rewriting that yourself would be stupidity.

It's very easy to criticize the length of their dependency list, but could you point to a specific one which you deem unnecessary? Which one do you consider to be a "leftPad", and what trivial code fragment would you replace it with?

I haven't had to do Mac GUI development, but on Windows managing a tray icon is a single system library function: https://learn.microsoft.com/en-us/windows/win32/api/shellapi...

I mean this entire thing is doable in a one-liner bash script. This tool has 10 deps (and every one of them also includes a big list of deps, so in practice i probably have over 200 deps).

How is this acceptable?

Even if the app used the bash script as the backend, the UI would require dependencies (aka tray icon)

You dont need a UI for things like this.

Maybe you don't, but the author did/wanted one. It's a good thing your exact needs don't control how other people use their computer.

Its also reckless that you install 200 deps that can in theory read/write and do anything to your OS. How do i know this thing is not listening to my keyboard? Etc...

A uI tray icon is usually a few os calls away. I does not require 200 deps.

A macos status bar gui with user interaction is doable in a one liner bash script? Show me.

Spoiler: no it isnt.