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

Remove Cargo.lock from the repo #1

Open
CPerezz opened this issue Sep 22, 2020 · 0 comments
Open

Remove Cargo.lock from the repo #1

CPerezz opened this issue Sep 22, 2020 · 0 comments

Comments

@CPerezz
Copy link

CPerezz commented Sep 22, 2020

The cargo.lock file should not be inside the repo. Indeed it should be added to the .gitignore file.

The .gitignore should look like:

# Generated by Cargo
# will have compiled files and executables
/target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk
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

No branches or pull requests

1 participant