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

Please don't hide Cargo.lock #106

Closed
0323pin opened this issue Apr 27, 2023 · 2 comments
Closed

Please don't hide Cargo.lock #106

0323pin opened this issue Apr 27, 2023 · 2 comments

Comments

@0323pin
Copy link

0323pin commented Apr 27, 2023

Hi,

On NetBSD, we have a script that reads Cargo.lock and generates a file listing all cargo dependencies.
When Cargo.lock is hidden in .gitignore, we need to do this manually.
Would you please consider removing Cargo.lock from .gitignore and simplify our work?

Thanks in advance.

@kornelski
Copy link
Member

This is a library, and Cargo.lock is used only for binaries. It is completely ignored and does nothing for library users. If you just want to see what would be there, you can run cargo generate-lockfile.

@0323pin
Copy link
Author

0323pin commented Apr 30, 2023

@kornelski Sorry, should have looked before :(

Yeah, I know how to generate the lockfile, I can do a test build. Closing this now.

@0323pin 0323pin closed this as completed Apr 30, 2023
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

2 participants