Missing lockfile
Opened this issue · 2 comments
Pandapip1 commented
The Cargo.lock
file is missing.
technobaboo commented
given this is a library i thought that was the convention to avoid dependency conflicts?
Pandapip1 commented
Cargo.lock
does not affect the consumers of your package, onlyCargo.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