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

Why gitignore Cargo.lock file? #88

Open
Tirka opened this issue May 4, 2020 · 2 comments
Open

Why gitignore Cargo.lock file? #88

Tirka opened this issue May 4, 2020 · 2 comments

Comments

@Tirka
Copy link

Tirka commented May 4, 2020

I dont think it’s a good idea to drop info about exact versions of project’s dependencies out of repository

@hardliner66
Copy link
Contributor

@leenozara
Copy link
Contributor

Recommended:

If you’re building a non-end product, such as a rust library that other rust packages will depend on, put Cargo.lock in your .gitignore. If you’re building an end product, which are executable like command-line tool or an application, or a system library with crate-type of staticlib or cdylib, check Cargo.lock into git.

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

3 participants