11
submitted 10 months ago by dessalines@lemmy.ml to c/rust@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] vext01@lemmy.sdf.org 1 points 10 months ago

How do you upgrade your deps?

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

[-] taladar@sh.itjust.works 1 points 9 months ago

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

[-] vext01@lemmy.sdf.org 1 points 9 months ago

It was fixed.

The sparse index broke it for a few months.

[-] RustyNova@lemmy.world 1 points 10 months ago

cargo update

... It's that simple.

[-] vext01@lemmy.sdf.org 4 points 10 months ago

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.

[-] BB_C@programming.dev 2 points 10 months ago

Since cargo-edit broke

Sparse indices support got added in last September. A perma-WIP pull request that added support for them existed for much longer.

this post was submitted on 15 Jan 2025
11 points (92.3% liked)

Rust Programming

9052 readers
15 users here now

founded 6 years ago
MODERATORS