Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Even with a lock file dependencies need to be fetched from somewhere and if a particular version of a package was deleted by its author then you're back to case one.

That's not quite correct. Even if a library version is yanked (which hides it in crates.io and makes it so cargo will skip that version during resolution), if it appears in a lock file, cargo will dutifully find it and use it. This is explicitly to avoid the leftpad behavior of a library disappearing breaking your build.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: