Closed
Description
Problem
In a project with a local lockfile, cargo install --path .
seems to ignore that lockfile.
Steps
- Have a lockfile with some outdated dependencies.
- Do
cargo install --path .
This will use the latest version of the dependency even though the lockfile says otherwise.
Possible Solution(s)
I suggest that cargo install --path .
should respect the lockfile in that directory.
Notes
Output of cargo version
:
cargo 1.36.0-nightly (c4fcfb7 2019-05-15)