Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(rust): always allow Cargo.lock file #4469

Closed
wants to merge 1 commit into from

Conversation

carlocorradini
Copy link

Reasons for making this change:

Rust advice for Cargo.lock file is to do whatever is best for their project.
From Rust nightly 2023-08-24, command cargo new no longer ignores Cargo.lock for libraries.
Therefore, the Cargo.lock file should not be ignored.

Links to documentation supporting these rule changes:

Official Rust Blog: https://blog.rust-lang.org/2023/08/29/committing-lockfiles.html
Official Rust Doc: https://doc.rust-lang.org/nightly/cargo/faq.html#why-have-cargolock-in-version-control

@bensheldon
Copy link
Contributor

Closed by #4350

@bensheldon bensheldon closed this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants