Add lockfile to .gitignore #45

Closed
opened 2022-06-09 07:45:06 +00:00 by glyph · 1 comment
Owner

Yesterday I became curious about whether or not the Cargo.lock file should be included in a repo. After some reading, I know now that it should be included for binary projects / applications but not for libraries.

There's a great summary here: Why do binaries have Cargo.lock in version control, but not libraries?

I'll make a PR for this once the two open PR's have been merged.

Yesterday I became curious about whether or not the `Cargo.lock` file should be included in a repo. After some reading, I know now that it _should_ be included for binary projects / applications but _not_ for libraries. There's a great summary here: [Why do binaries have Cargo.lock in version control, but not libraries?](https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries) I'll make a PR for this once the two open PR's have been merged.
Author
Owner

Addressed in #48

Addressed in https://git.coopcloud.tech/golgi-ssb/golgi/pulls/48
glyph closed this issue 2022-07-14 08:27:36 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: golgi-ssb/golgi#45
No description provided.