Hacker News new | ask | show | jobs
by CJefferson 487 days ago
This is the feature I would most like added to rust, if you don’t save a lock file it is horrible trying to get back to the same versions of packages.
1 comments

Why wouldn't you save the lock file?
Well, of course you should, but it’s easy to forget as it’s not required. It also used to be recommended to not save it, so some people put it in their gitignore.

For example, here is a post saying it was previously recommended to not save it for libraries: https://blog.rust-lang.org/2023/08/29/committing-lockfiles.h...