Why Nostr? What is Njump?
2024-05-05 15:21:29

mgorny-nyan (he) :autism:🙀🚂🐧 on Nostr: Am I missing something or is it basically impossible to have `cargo update` actually ...

Am I missing something or is it basically impossible to have `cargo update` actually select dependencies that are acceptable for the specific minimal `rust-version`? Like, even if you install old #RustLang version, `cargo update` from this version will update `Cargo.lock` to dependencies that require a newer Rust version and render the package non-buildable?

So yeah, I suppose you either end up requiring newer Rust (but you don't really know which version, since you don't know what's the highest minimal requirement in your dependencies), or you update `Cargo.lock` by hand. Such a great tooling!

https://github.com/samuelcolvin/watchfiles/pull/267#issuecomment-2094753389

#Gentoo
Author Public Key
npub1xcf8c45mvdddthcrfzdh066wlrp5t0hqy9kr27ey02h2n9vsk2rqnt2zan