It's common, even recommended practice to include Cargo.lock in the git repo for binary crates. Quoting from the linked page:
... As a result, it is recommended that all binaries check in their Cargo.lock.
I'm assuming you've chosen not to do so for some intentional reason, but I'd like to not have the repo become dirty whenever I build the project, thus the request to add Cargo.lock to .gitignore.
(If you decide to instead add a Cargo.lock to the repo, then please close this PR without merging.)
It's common, even recommended practice to include
Cargo.lock
in the git repo for binary crates. Quoting from the linked page:I'm assuming you've chosen not to do so for some intentional reason, but I'd like to not have the repo become dirty whenever I build the project, thus the request to add
Cargo.lock
to.gitignore
.(If you decide to instead add a
Cargo.lock
to the repo, then please close this PR without merging.)