this post was submitted on 20 Aug 2026
29 points (96.8% liked)

Rust

8358 readers
30 users here now

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

Wormhole

!performance@programming.dev

Credits

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

founded 3 years ago
MODERATORS
top 5 comments
sorted by: hot top controversial new old
[–] treadful@lemmy.zip 5 points 2 months ago

ugh

Guess it was just a matter of time.

[–] chickenf622@sh.itjust.works 4 points 2 months ago (1 children)

Reminder to have minimum ages for update releases to help avoid these exact kinds of attacks. I do like 3 days which is probably overkill.

[–] naonintendois@programming.dev 2 points 2 months ago (2 children)
[–] chickenf622@sh.itjust.works 5 points 2 months ago

I'm not a rust user but it looks like the feature is in their unstable branch https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#min-publish-ag. Also looks like someone made a crate to do that called cargo-cooldown. These supply chain attacks have been more frequent only recently so a lot of ecosystems are still working on implementing this kind of feature.

[–] blazebra@programming.dev 1 points 2 months ago

Configure your updater and use exact or semi-exact versions.