core icon indicating copy to clipboard operation
core copied to clipboard

Missing lockfile

Open Pandapip1 opened this issue 1 year ago • 2 comments

The Cargo.lock file is missing.

Pandapip1 avatar Jul 03 '24 18:07 Pandapip1

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

technobaboo avatar Aug 30 '24 23:08 technobaboo

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

Pandapip1 avatar Aug 31 '24 13:08 Pandapip1