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

Add Cargo.lock #30

Merged
merged 1 commit into from
Jun 22, 2019
Merged

Add Cargo.lock #30

merged 1 commit into from
Jun 22, 2019

Conversation

minijackson
Copy link
Contributor

Hello and thanks for the awesome project!

I'm trying to package cargo-inspect for Nix, and because it is a package manager that needs reproducible builds, I can't add the project until there is a Cargo.lock file.

As the cargo guide puts it:

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. If you're curious about why that is, see "Why do binaries have Cargo.lock in version control, but not libraries?" in the
FAQ
.

Thanks again!

@mre mre merged commit 967dc9c into mre:master Jun 22, 2019
@mre
Copy link
Owner

mre commented Jun 22, 2019

A whoops, no idea how that slipped into the .gitignore. Thanks for fixing.

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

Successfully merging this pull request may close these issues.

2 participants