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.

  • tristan@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 年前

    cargo-audit is great for keeping an eye on what dependencies have known vulnerabilities and need upgrading. Not something I use for every side project, but is used frequently on the systems we have running at work.