167
you are viewing a single comment's thread
view the rest of the comments
[-] MonkderVierte@lemmy.zip 3 points 2 weeks ago* (last edited 2 weeks ago)

Not cargo per se, but even the tutorial for a cli-tool is like "setup clap, which has 20 dependencies and a kitchen sink". The whole (cargo-centric) ecosystem is much like Node, with the same problems.

And also, cargo.toml has a lot of inconsistencies and double-standards.

[-] BB_C@programming.dev 2 points 1 week ago* (last edited 1 week ago)

Not cargo per se, but even the tutorial for a cli-tool is like “setup clap, which has 20 dependencies and a kitchen sink”. The whole (cargo-centric) ecosystem is much like Node, with the same problems.

cargo new with-clap
cd with-clap
cargo add clap --no-default-features
% cargo tree
with-clap v0.1.0 (/tmp/with-clap)
└── clap v4.6.0
    └── clap_builder v4.6.0
        ├── anstyle v1.0.14
        └── clap_lex v1.1.0

And also, cargo.toml has inconsistencies and double-standards.

Can you expand on that?

[-] MonkderVierte@lemmy.zip 1 points 1 week ago

--no-default-features

That's cheating!

[-] BB_C@programming.dev 1 points 1 week ago

I will let you expand on this before responding to both:

And also, cargo.toml has inconsistencies and double-standards.

this post was submitted on 02 Apr 2026
167 points (99.4% liked)

Programming

26519 readers
233 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS