Add new option --locked that is passed through to cargo-install (#830)

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-02-22 22:27:17 +11:00 committed by GitHub
parent 0e055dbb7c
commit 96ebcfd08f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 0 deletions

View file

@ -21,6 +21,7 @@ pub struct Options {
pub dry_run: bool,
pub force: bool,
pub quiet: bool,
pub locked: bool,
pub version_req: Option<VersionReq>,
pub manifest_path: Option<PathBuf>,