install icon indicating copy to clipboard operation
install copied to clipboard

Support `--locked` on cargo install

Open b-zee opened this issue 2 years ago • 0 comments

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.

b-zee avatar Feb 09 '22 10:02 b-zee