Skip to content

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

Closed
carlocorradini wants to merge 1 commit intogithub:mainfrom
carlocorradini:rust
Closed

refactor(rust): always allow Cargo.lock file#4469
carlocorradini wants to merge 1 commit intogithub:mainfrom
carlocorradini:rust

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