GitHub - BenJeau/cargo-interactive-update: A cargo extension CLI tool to update your cargo direct dependencies interactively to the latest version
github.com
external-link
A cargo extension CLI tool to update your cargo direct dependencies interactively to the latest version - BenJeau/cargo-interactive-update
trevor
link
fedilink
1•2M

I don’t have a strong use for this because i mostly just let it rip when it comes to dependency updates, but I wanted to say that Rust makes the absolute best CLIs (mostly thanks to clap and ratatui).

I love that basically any CLI made in Rust will usually get you easy, readable help output, sensible argument parsing, and with just a small amount of additional effort, shell completions.

How do you upgrade your deps?

I used to use ‘cargo upgrade’ from cargo-edit, but it stooped working at some point.

I usually use cargo upgrade -i allow --pinned --verbose and that works just fine. What isn’t working for you?

It was fixed.

The sparse index broke it for a few months.

cargo update

… It’s that simple.

I think that only updates semver-compatible versions in the lock file.

I was looking for something that updates the cargo.toml to not necessarily compatible versions.

Since cargo-edit broke, I’ve had to do this by hand.

Rust Programming
!rust@lemmy.ml
    • 0 users online
    • 15 users / day
    • 18 users / week
    • 29 users / month
    • 93 users / 6 months
    • 1 subscriber
    • 311 Posts
    • 958 Comments
    • Modlog