this post was submitted on 15 Jan 2025
8 points (90.0% liked)
Rust Programming
8265 readers
12 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How do you upgrade your deps?
I used to use 'cargo upgrade' from cargo-edit, but it stooped working at some point.
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.