install
install copied to clipboard
Support `--locked` on cargo install
Support passing --locked
to cargo install
.
Motivation
Some binary crates are outdated and have suboptimal Cargo.toml
files. In that case, it can occur that the dependencies listed in Cargo.toml
were updated since the crate was published and an incompatibility arises. These crates can then only be succesfully installed by passing --locked
which causes the Cargo.lock
to be used if it is published by that binary crate.