MAN page from openSUSE Leap 42 cargo-1.31.1-186.1.x86_64.rpm
CARGO\-CHECK
Section: Cargo Manual (1)
Updated: May 2016
Index NAME
cargo-check - Check the current package
SYNOPSIS
I]cargo check] [OPTIONS]
DESCRIPTION
Check a local package and all of its dependencies.
If the B]--package] argument is given, then I]SPEC] is apackage id specification which indicates which package should be checked.If it is not given, then the current package is checked.For more information on I]SPEC] and its format, see the "cargohelp pkgid" command.
Compilation can be configured via the use of profiles which areconfigured in the manifest.The default profile for this command is I]dev], but passing theB]--release] flag will use the I]release] profile instead.
OPTIONS
- -h, --help
- Print this message.
- -p I]SPEC], --package I]SPEC ...]
- Package to check.
- -j I]IN], --jobs I]IN]
- Number of parallel jobs, defaults to # of CPUs.
- --lib
- Check only this package[aq]s library.
- --bin I]NAME]
- Check only the specified binary.
- --example I]NAME]
- Check only the specified example.
- --test I]NAME]
- Check only the specified test target.
- --bench I]NAME]
- Check only the specified benchmark target.
- --release
- Check artifacts in release mode.
- --all-features
- Check with all available features.
- --features I]FEATURES]
- Space-separated list of features to also check.
- --no-default-features
- Do not check the C]default] feature.
- --target I]TRIPLE]
- Check for the target triple.
- --manifest-path I]PATH]
- Path to the Cargo.toml to compile.
- -v, --verbose
- Use verbose output.
- -q, --quiet
- No output printed to stdout.
- --color I]WHEN]
- Coloring: auto, always, never.
EXAMPLES
Check a local package and all of its dependencies
C]$ cargo check]
Check a package with optimizations
C]$ cargo check --release]
SEE ALSO
cargo(1)
COPYRIGHT
This work is dual-licensed under Apache 2.0 and MIT terms.See I]COPYRIGHT] file in the cargo source distribution.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- EXAMPLES
- SEE ALSO
- COPYRIGHT
This document was created byman2html,using the manual pages.