this post was submitted on 20 Jun 2023
10 points (100.0% liked)

Rust

6049 readers
42 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

Cargo comes with quite a lot of nifty things pre-packaged, like fmt, clippy and so on. But there are a lot of addons out there, and it is a bit hard to discover these, so I thought it would be interesting to hear what everybody is using. The things I have installed is:

  • cargo-outdated - Find outdated dependencies
  • cargo-udeps - Find unused dependencies
  • cargo-flamegraph - Performance analysis
  • cargo-about - I use it to list licenses

Of these, it is cargo-outdated I use frequently. So, what is your cargo addon you cannot live without.

you are viewing a single comment's thread
view the rest of the comments
[–] words_number 5 points 1 year ago (2 children)

I'd like to add:

  • cargo-feature
  • cargo-watch
  • cargo-expand
  • cargo-show-asm
[–] [email protected] 2 points 1 year ago

cargo-feature

cargo add can add and show features. The only thing its missing is removing of features.

[–] snaggen 1 points 1 year ago

cargo-feature seems like a nice thing to have... will definitely try that.