The default when installing via the cargo backend is to automatically installed with the --locked option. This is a great default, as it installs the software with the same versions the developer worked with.
However, if a downstream dependency version is yanked, the package can no-longer be installed using the --locked parameter.
e.g. mise use -g cargo:getzola/zola@tag:v0.19.2
warning: package `bytemuck v1.16.0` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `bytes v1.6.0` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `futures-util v0.3.30` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `zerovec v0.10.2` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `zerovec-derive v0.10.2` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
Adding the option to run without --locked would allo packages like this to be installed.
The default when installing via the cargo backend is to automatically installed with the
--locked
option. This is a great default, as it installs the software with the same versions the developer worked with.However, if a downstream dependency version is yanked, the package can no-longer be installed using the
--locked
parameter.e.g.
mise use -g cargo:getzola/zola@tag:v0.19.2
Adding the option to run without
--locked
would allo packages like this to be installed.