News for hackers. Stuff that matters.
Re:Rust Just Failed an Important Test by cropcirclbureau on Wednesday July 31, 2024 @10:47PM (#41125735)
I work in a large code base with 1800+ crate dependencies (don't ask) with half of them being unstable crates not really published to crates.io. And yeah, we run into this issue a lot. The recent one was caused[0] by human error.

It's usually human error but there's also a lot of cases due to Cargo's choice to go to pick the highest version that satisfies the constraints. It's a reasonable choice on Cargo's part but yes, our team has learned to be very conservative to diffs on `Cargo.lock` and most of our dependencies are pinned.

[0]: https://github.com/denoland/deno_core/issues/797

There are no comments on this comment yet.