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

Missing lockfile #16

Open
Pandapip1 opened this issue Jul 3, 2024 · 2 comments
Open

Missing lockfile #16

Pandapip1 opened this issue Jul 3, 2024 · 2 comments

Comments

@Pandapip1
Copy link

The Cargo.lock file is missing.

@technobaboo
Copy link
Contributor

given this is a library i thought that was the convention to avoid dependency conflicts?

@Pandapip1
Copy link
Author

Cargo.lock does not affect the consumers of your package, only Cargo.toml does that. For example:

  • cargo install will select the latest dependencies unless --locked is passed in.
  • New dependencies, like those added with cargo add, will be locked to the latest version

https://doc.rust-lang.org/cargo/faq.html#why-have-cargolock-in-version-control

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