The recommendations of best practices are wrong, and since the original advice against committing cargo.lock for libraries, rust's official guidance changed their stance to reflect the reality that having CI that is flaky and can spuriously fail is a terrible Idea.
Cargo lock should always be committed, regardless of if its a library or a binary.
The recommendations of best practices are wrong, and since the original advice against committing cargo.lock for libraries, rust's official guidance changed their stance to reflect the reality that having CI that is flaky and can spuriously fail is a terrible Idea.
Cargo lock should always be committed, regardless of if its a library or a binary.