1. cargo-install-update-config(1)
  2. cargo-install-update-config(1)

NAME

cargo-install-update-config - Cargo subcommand for checking and applying updates to installed executables -- configuration

SYNOPSIS

cargo install-update-config OPTIONS PACKAGE

DESCRIPTION

Configure cargo/rustc compilation commandlines for packages.

Settable options:

See cargo-install-update(1) for general information.

OPTIONS

PACKAGE

Package to adjust settings for.

-t --toolchain [TOOLCHAIN]

Set the toolchain to use. Pass empty string to use the cargo default.

-f --feature [FEATURE]...

Enable a cargo feature.

-n --no-feature [FEATURE]...

Disable/remove a cargo feature.

-d --default-features [DEFAULT]

Enable or disable default features.

The argument can have the value "yes", "true", "1" to enable,
or "no", "false", "0" to disable.

--debug

Compile in debug mode.

--release

Compile in release mode (default).

--install-prereleases

Install version even if it's a prerelease.

--no-install-prereleases

Don't update to prerelease versions (default).

--enforce-lock

Require Cargo.lock is up to date.

--no-enforce-lock

Don't require Cargo.lock to be up to date. (default).

--respect-binaries

Only install the binaries that are already installed for this package.

--no-respect-binaries

Install all binaries. (default).

-v --version [VERSION_REQ]

Require a cargo-compatible version range not to update beyond.

Example: ">1.3", "^0.1.8".

-a --any-version

Allow any version.

-r --reset

Roll back the configuration to the empty defaults.

-c --cargo-dir CARGO_DIR

Set the directory containing cargo metadata.

Required. Default: "$CARGO_HOME", then "$HOME/.cargo", otherwise manual.

EXAMPLES

cargo install-update-config -t nightly -d 0 -f log -f colour -v ~2.3 clippy

Set clippy to be compiled with the nightly toolchain without default
features, with log and colour features.

Example output:
  Toolchain         nightly
  Default features  true
  Features          log
                    colour

AUTHOR

Written by наб <nabijaczleweli@nabijaczleweli.xyz>, Yann Simon <yann.simon.fr@gmail.com>, ven <vendethiel@hotmail.fr>, Cat Plus Plus <piotrlegnica@piotrl.pl>, Liigo <liigo@qq.com>, azyobuzin <azyobuzin@users.sourceforge.jp>, Tatsuyuki Ishi <ishitatsuyuki@gmail.com>, Tom Prince <tom.prince@twistedmatrix.com>, Mateusz Mikuła <mati865@gmail.com>, sinkuu <sinkuupump@gmail.com>, Alex Burka <aburka@seas.upenn.edu>, Matthias Krüger <matthias.krueger@famsik.de>, Daniel Holbert <dholbert@cs.stanford.edu>, Jonas Bushart <jonas@bushart.org>, Harrison Metzger <harrisonmetz@gmail.com>, Benjamin Bannier <bbannier@gmail.com>, Dimitris Apostolou <dimitris.apostolou@icloud.com>, Corbin Uselton <corbinu@decimal.io>, and QuarticCat <QuarticCat@protonmail.com>

SPECIAL THANKS

To all who support further development, in particular:

REPORTING BUGS

<https://github.com/nabijaczleweli/cargo-update/issues>

SEE ALSO

<https://github.com/nabijaczleweli/cargo-update>

  1. cargo-update developers
  2. December 2021
  3. cargo-install-update-config(1)