CARGO-REPORT(1)
๐ธ CARGO-REPORT(1) ๐ธ
okay bestie, welcome to the General Commands Manual page for cargo-report โ yes, the manual name is literally General Commands Manual, and this whole thing lives under it. let's get into it ๐
โจ NAME โจ
cargo-report โ Generate and display various kinds of reports ๐
โจ SYNOPSIS โจ
cargo report type [options]
โจ DESCRIPTION โจ
It shows you a report of whatever type you asked for โ and right now, the only type on the menu is future-incompat. that's it, that's the whole vibe. only future-incompat is supported. periodt โจ
โจ OPTIONS โจ
๐ Display Options ๐
-v,--verboseโ bestie wants the verbose output. say it twice and you get "very verbose" mode, which is the one that also throws in extra stuff like dependency warnings and build script output ๐. you can also just set this with theterm.verboseconfig value (<https://doc.rust-lang.org/cargo/reference/config.html>).-q,--quietโ do NOT print cargo log messages, we're being chill ๐. you can also set this with theterm.quietconfig value (<https://doc.rust-lang.org/cargo/reference/config.html>).--colorwhen โ controls when colored output happens. the valid values are:auto(this is the default): automatically detect if the terminal supports color. it figures out the vibe check itself ๐ฆalways: always show colors. rainbow mode, no cap ๐never: never show colors. monochrome era ๐
you can also set this with the term.color config value (<https://doc.rust-lang.org/cargo/reference/config.html>).
๐ Manifest Options ๐
--lockedโ asserts that the exact same dependencies and versions are used as when the existingCargo.lockfile was originally generated. cargo will exit with an error when either of these scenarios shows up:- the lock file is missing ๐ญ
- cargo attempted to change the lock file because of a different dependency resolution
it's giving deterministic builds, so use it in environments where you want that โ like CI pipelines ๐ซถ
--offlineโ prevents cargo from accessing the network, for any reason. without this flag, cargo will stop with an error if it needs the network and the network isn't available. with this flag, cargo will try to proceed without the network if it can ๐
beware bestie โ this may result in a different dependency resolution than online mode. cargo will restrict itself to crates that are downloaded locally, even if there might be a newer version as indicated in the local copy of the index ๐. see the cargo-fetch(1) command to download dependencies before going offline.
you can also set this with the net.offline config value (<https://doc.rust-lang.org/cargo/reference/config.html>).
--frozenโ literally equivalent to specifying both--lockedand--offlineat the same time. two for one, iconic ๐
๐ Common Options ๐
+toolchainโ if cargo was installed with rustup, and the first argument to cargo begins with+, it gets interpreted as a rustup toolchain name (like+stableor+nightly). see the rustup documentation (<https://rust-lang.github.io/rustup/overrides.html>) for more info on how toolchain overrides work ๐ง--configKEY=VALUE or PATH โ overrides a cargo configuration value. the argument should be in TOML syntax ofKEY=VALUE, or given as a path to an extra configuration file. this flag may be specified multiple times โจ. see the command-line overrides section (<https://doc.rust-lang.org/cargo/reference/config.html#command-line-overrides>) for more info.-CPATH โ changes the current working directory before executing any specified operations. this affects things like where cargo looks by default for the project manifest (Cargo.toml), and also the directories searched for discovering.cargo/config.toml, for example. this option must appear before the command name, likecargo -C path/to/my-project build๐
this option is only available on the nightly channel (<https://doc.rust-lang.org/book/appendix-07-nightly-rust.html>) and requires the-Z unstable-optionsflag to enable (see #10098<https://github.com/rust-lang/cargo/issues/10098>).
-h,--helpโ prints help information. the classic ๐-Zflag โ unstable (nightly-only) flags to cargo. runcargo -Z helpfor details.
โจ ENVIRONMENT โจ
see the reference (<https://doc.rust-lang.org/cargo/reference/environment-variables.html>) for details on environment variables that cargo reads ๐ฑ
โจ EXIT STATUS โจ
0: cargo succeeded ๐101: cargo failed to complete ๐ญ
โจ EXAMPLES โจ
- Display the available kinds of reports:
cargo report --help
โจ SEE ALSO โจ
cargo(1), cargo-report-future-incompatibilities(1)
and that's the whole page, bestie ๐ซถ this was CARGO-REPORT(1) from the General Commands Manual, version/date line reading CARGO-REPORT(1) โ slay, go forth and generate those reports ๐โจ๐ธ
๐ฆ where this page comes from
- alpine 3.24: cargo-doc 1.96.1-r0 ยท Apache-2.0 OR MIT
- alpine 3.24: chromium-cargo-doc 1.97.0-r0 ยท Apache-2.0 OR MIT
- centos-stream 10: cargo 1.99.1-1.el10 ยท (Apache-2.0 OR MIT) AND (Artistic-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND Unicode-3.0)
- centos-stream 9: cargo 1.99.1-1.el9 ยท (Apache-2.0 OR MIT) AND (Artistic-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND Unicode-3.0)
- debian bookworm: cargo-web 1.96.0+dfsg1-1~deb12u2 ยท MIT OR Apache-2.0
- debian trixie: cargo-web 1.96.0+dfsg1-1~deb13u1+b1 ยท MIT OR Apache-2.0
- fedora 43: cargo 1.98.1-1.fc43
- fedora 43: cargo 1.99.0-1.fc43
- fedora 43: cargo 1.99.1-2.fc43 ยท (Apache-2.0 OR MIT) AND (Artistic-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND Unicode-3.0)
- fedora 44: cargo 1.98.1-1.fc44
- fedora 44: cargo 1.99.0-1.fc44
- fedora 44: cargo 1.99.1-2.fc44 ยท (Apache-2.0 OR MIT) AND (Artistic-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND Unicode-3.0)
- nixos 26.05: cargo 1.95.0
- opensuse-leap 16.0: cargo1.95 1.95.0-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.95 1.95.0-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.95 1.95.0-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.95 1.95.0-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.96 1.96.1-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.96 1.96.1-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.96 1.96.1-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.96 1.96.1-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.97 1.97.0-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.97 1.97.0-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.97 1.97.0-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.97 1.97.0-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.98 1.98.0-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.98 1.98.0-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.98 1.98.0-160000.1.1 ยท Apache-2.0 OR MIT
- opensuse-leap 16.0: cargo1.98 1.98.0-160000.1.1 ยท Apache-2.0 OR MIT
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms