Remove Cargo.lock from version control #3

Open
opened 2026-07-25 11:16:26 +00:00 by GKaszewski · 0 comments
Owner

Severity: Medium

Cargo.lock is committed, but this is a library crate. Rust convention is that libraries should NOT commit Cargo.lock — only binary crates should. Downstream consumers use their own lockfile.

Add Cargo.lock to .gitignore and remove it from the repo.

**Severity: Medium** `Cargo.lock` is committed, but this is a library crate. Rust convention is that libraries should NOT commit `Cargo.lock` — only binary crates should. Downstream consumers use their own lockfile. Add `Cargo.lock` to `.gitignore` and remove it from the repo.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GKaszewski/loco-keycloak-auth#3