actions-rs / install

⏩ GitHub Action for a faster binary crates installation
https://github.com/marketplace/actions/rust-cargo-install
MIT License
54 stars 12 forks source link

Support `--locked` on cargo install #13

Open b-zee opened 2 years ago

b-zee commented 2 years ago

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.