mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
fix: align first line of unordered list with following
This looks more nature. Most of other popular softwares follow the same style. For example, git-merge, tar, and bash.
This commit is contained in:
parent
2928e32734
commit
f7c9066169
@ -22,13 +22,13 @@ The handlebars template has several special tags to assist with generating the
|
||||
man page:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Every block of command\-line options must be wrapped between \fB{{#options}}\fR
|
||||
\h'-04'\(bu\h'+03'Every block of command\-line options must be wrapped between \fB{{#options}}\fR
|
||||
and \fB{{/options}}\fR tags. This tells the processor where the options start
|
||||
and end.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Each option must be expressed with a \fB{{#option}}\fR block. The parameters to
|
||||
\h'-04'\(bu\h'+03'Each option must be expressed with a \fB{{#option}}\fR block. The parameters to
|
||||
the block are a sequence of strings indicating the option. For example,
|
||||
\fB{{#option "`\-p` _spec_..." "`\-\-package` _spec_..."}}\fR is an option that
|
||||
has two different forms. The text within the string is processed as markdown.
|
||||
@ -41,7 +41,7 @@ Use the \fB{{/option}}\fR tag to end the option block.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'References to other man pages should use the \fB{{man name section}}\fR
|
||||
\h'-04'\(bu\h'+03'References to other man pages should use the \fB{{man name section}}\fR
|
||||
expression. For example, \fB{{man "mdman" 1}}\fR will generate a reference to
|
||||
the \fBmdman(1)\fR man page. For non\-troff output, the \fB\-\-man\fR option will tell
|
||||
\fBmdman\fR how to create links to the man page. If there is no matching \fB\-\-man\fR
|
||||
@ -49,21 +49,21 @@ option, then it links to a file named \fIname\fR\fB\&.md\fR in the same director
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Variables can be set with \fB{{*set name="value"}}\fR\&. These variables can
|
||||
\h'-04'\(bu\h'+03'Variables can be set with \fB{{*set name="value"}}\fR\&. These variables can
|
||||
then be referenced with \fB{{name}}\fR expressions.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Partial templates should be placed in a directory named \fBincludes\fR
|
||||
\h'-04'\(bu\h'+03'Partial templates should be placed in a directory named \fBincludes\fR
|
||||
next to the source file. Templates can be included with an expression like
|
||||
\fB{{> template\-name}}\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Other helpers include:
|
||||
\h'-04'\(bu\h'+03'Other helpers include:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB{{lower value}}\fR Converts the given value to lowercase.
|
||||
\h'-04'\(bu\h'+03'\fB{{lower value}}\fR Converts the given value to lowercase.
|
||||
.RE
|
||||
.RE
|
||||
.SH "OPTIONS"
|
||||
@ -73,17 +73,17 @@ next to the source file. Templates can be included with an expression like
|
||||
Specifies the output type. The following output types are supported:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBman\fR \[em] A troff\-style man page. Outputs with a numbered extension (like
|
||||
\h'-04'\(bu\h'+03'\fBman\fR \[em] A troff\-style man page. Outputs with a numbered extension (like
|
||||
\fB\&.1\fR) matching the man page section.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBmd\fR \[em] A markdown file, after all handlebars processing has been finished.
|
||||
\h'-04'\(bu\h'+03'\fBmd\fR \[em] A markdown file, after all handlebars processing has been finished.
|
||||
Outputs with the \fB\&.md\fR extension.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBtxt\fR \[em] A text file, rendered for situations where a man page viewer isn\[cq]t
|
||||
\h'-04'\(bu\h'+03'\fBtxt\fR \[em] A text file, rendered for situations where a man page viewer isn\[cq]t
|
||||
available. Outputs with the \fB\&.txt\fR extension.
|
||||
.RE
|
||||
.RE
|
||||
|
@ -167,7 +167,7 @@ impl<'e> ManRenderer<'e> {
|
||||
*n += 1;
|
||||
}
|
||||
// Unordered list.
|
||||
None => self.output.push_str("\\h'-04'\\(bu\\h'+02'"),
|
||||
None => self.output.push_str("\\h'-04'\\(bu\\h'+03'"),
|
||||
}
|
||||
suppress_paragraph = true;
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ goodness regarding reindeer so astride before.
|
||||
\h'-04' 1.\h'+01'Ordered list
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Unordered list
|
||||
\h'-04'\(bu\h'+03'Unordered list
|
||||
.sp
|
||||
With a second paragraph inside it
|
||||
.sp
|
||||
@ -61,11 +61,11 @@ With a second paragraph inside it
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Eggs
|
||||
\h'-04'\(bu\h'+03'Eggs
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Milk
|
||||
\h'-04'\(bu\h'+03'Milk
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04' 5.\h'+01'Don\[cq]t start at one.
|
||||
|
@ -17,23 +17,23 @@ my\-command \- A brief description
|
||||
A description of the command.
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'One
|
||||
\h'-04'\(bu\h'+03'One
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Sub one
|
||||
\h'-04'\(bu\h'+03'Sub one
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Sub two
|
||||
\h'-04'\(bu\h'+03'Sub two
|
||||
.RE
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Two
|
||||
\h'-04'\(bu\h'+03'Two
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Three
|
||||
\h'-04'\(bu\h'+03'Three
|
||||
.RE
|
||||
.SH "OPTIONS"
|
||||
.SS "Command options"
|
||||
|
@ -17,29 +17,29 @@ This command can add or modify dependencies.
|
||||
The source for the dependency can be specified with:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fIcrate\fR\fB@\fR\fIversion\fR: Fetch from a registry with a version constraint of \[lq]\fIversion\fR\[rq]
|
||||
\h'-04'\(bu\h'+03'\fIcrate\fR\fB@\fR\fIversion\fR: Fetch from a registry with a version constraint of \[lq]\fIversion\fR\[rq]
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB\-\-path\fR \fIpath\fR: Fetch from the specified \fIpath\fR
|
||||
\h'-04'\(bu\h'+03'\fB\-\-path\fR \fIpath\fR: Fetch from the specified \fIpath\fR
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB\-\-git\fR \fIurl\fR: Pull from a git repo at \fIurl\fR
|
||||
\h'-04'\(bu\h'+03'\fB\-\-git\fR \fIurl\fR: Pull from a git repo at \fIurl\fR
|
||||
.RE
|
||||
.sp
|
||||
If no source is specified, then a best effort will be made to select one, including:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Existing dependencies in other tables (like \fBdev\-dependencies\fR)
|
||||
\h'-04'\(bu\h'+03'Existing dependencies in other tables (like \fBdev\-dependencies\fR)
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Workspace members
|
||||
\h'-04'\(bu\h'+03'Workspace members
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Latest release in the registry
|
||||
\h'-04'\(bu\h'+03'Latest release in the registry
|
||||
.RE
|
||||
.sp
|
||||
When you add a package that is already present, the existing entry will be updated with the flags specified.
|
||||
@ -189,16 +189,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -230,11 +230,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -322,11 +322,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -123,24 +123,24 @@ When no target selection options are given, \fBcargo bench\fR will build the
|
||||
following targets of the selected packages:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'lib \[em] used to link with binaries and benchmarks
|
||||
\h'-04'\(bu\h'+03'lib \[em] used to link with binaries and benchmarks
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'bins (only if benchmark targets are built and required features are
|
||||
\h'-04'\(bu\h'+03'bins (only if benchmark targets are built and required features are
|
||||
available)
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'lib as a benchmark
|
||||
\h'-04'\(bu\h'+03'lib as a benchmark
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'bins as benchmarks
|
||||
\h'-04'\(bu\h'+03'bins as benchmarks
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'benchmark targets
|
||||
\h'-04'\(bu\h'+03'benchmark targets
|
||||
.RE
|
||||
.sp
|
||||
The default behavior can be changed by setting the \fBbench\fR flag for the target
|
||||
@ -294,7 +294,7 @@ Specifying an output format (rather than the default) is unstable and requires
|
||||
\fB\-Zunstable\-options\fR\&. Valid output formats:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\h'-04'\(bu\h'+03'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\fBtarget/cargo\-timings\fR directory with a report of the compilation. Also write
|
||||
a report to the same directory with a timestamp in the filename if you want
|
||||
to look at older runs. HTML output is suitable for human consumption only,
|
||||
@ -302,7 +302,7 @@ and does not provide machine\-readable timing data.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
information about timing information.
|
||||
.RE
|
||||
.RE
|
||||
@ -348,16 +348,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -370,34 +370,34 @@ The output format for diagnostic messages. Can be specified multiple times
|
||||
and consists of comma\-separated values. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\h'-04'\(bu\h'+03'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\fBshort\fR and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
\h'-04'\(bu\h'+03'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/external\-tools.html#json\-messages>
|
||||
for more details. Conflicts with \fBhuman\fR and \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
the \[lq]short\[rq] rendering from rustc. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
contains embedded ANSI color codes for respecting rustc\[cq]s default color
|
||||
scheme. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
\h'-04'\(bu\h'+03'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
in JSON messages printed, but instead Cargo itself should render the
|
||||
JSON diagnostics coming from rustc. Cargo\[cq]s own JSON diagnostics and others
|
||||
coming from rustc are still emitted. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
@ -423,11 +423,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -542,11 +542,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -200,7 +200,7 @@ Specifying an output format (rather than the default) is unstable and requires
|
||||
\fB\-Zunstable\-options\fR\&. Valid output formats:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\h'-04'\(bu\h'+03'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\fBtarget/cargo\-timings\fR directory with a report of the compilation. Also write
|
||||
a report to the same directory with a timestamp in the filename if you want
|
||||
to look at older runs. HTML output is suitable for human consumption only,
|
||||
@ -208,7 +208,7 @@ and does not provide machine\-readable timing data.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
information about timing information.
|
||||
.RE
|
||||
.RE
|
||||
@ -255,16 +255,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -277,34 +277,34 @@ The output format for diagnostic messages. Can be specified multiple times
|
||||
and consists of comma\-separated values. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\h'-04'\(bu\h'+03'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\fBshort\fR and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
\h'-04'\(bu\h'+03'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/external\-tools.html#json\-messages>
|
||||
for more details. Conflicts with \fBhuman\fR and \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
the \[lq]short\[rq] rendering from rustc. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
contains embedded ANSI color codes for respecting rustc\[cq]s default color
|
||||
scheme. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
\h'-04'\(bu\h'+03'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
in JSON messages printed, but instead Cargo itself should render the
|
||||
JSON diagnostics coming from rustc. Cargo\[cq]s own JSON diagnostics and others
|
||||
coming from rustc are still emitted. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
@ -341,11 +341,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -465,11 +465,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -202,7 +202,7 @@ Specifying an output format (rather than the default) is unstable and requires
|
||||
\fB\-Zunstable\-options\fR\&. Valid output formats:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\h'-04'\(bu\h'+03'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\fBtarget/cargo\-timings\fR directory with a report of the compilation. Also write
|
||||
a report to the same directory with a timestamp in the filename if you want
|
||||
to look at older runs. HTML output is suitable for human consumption only,
|
||||
@ -210,7 +210,7 @@ and does not provide machine\-readable timing data.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
information about timing information.
|
||||
.RE
|
||||
.RE
|
||||
@ -247,16 +247,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -269,34 +269,34 @@ The output format for diagnostic messages. Can be specified multiple times
|
||||
and consists of comma\-separated values. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\h'-04'\(bu\h'+03'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\fBshort\fR and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
\h'-04'\(bu\h'+03'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/external\-tools.html#json\-messages>
|
||||
for more details. Conflicts with \fBhuman\fR and \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
the \[lq]short\[rq] rendering from rustc. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
contains embedded ANSI color codes for respecting rustc\[cq]s default color
|
||||
scheme. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
\h'-04'\(bu\h'+03'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
in JSON messages printed, but instead Cargo itself should render the
|
||||
JSON diagnostics coming from rustc. Cargo\[cq]s own JSON diagnostics and others
|
||||
coming from rustc are still emitted. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
@ -322,11 +322,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -446,11 +446,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -92,16 +92,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -122,11 +122,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -214,11 +214,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -169,7 +169,7 @@ Specifying an output format (rather than the default) is unstable and requires
|
||||
\fB\-Zunstable\-options\fR\&. Valid output formats:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\h'-04'\(bu\h'+03'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\fBtarget/cargo\-timings\fR directory with a report of the compilation. Also write
|
||||
a report to the same directory with a timestamp in the filename if you want
|
||||
to look at older runs. HTML output is suitable for human consumption only,
|
||||
@ -177,7 +177,7 @@ and does not provide machine\-readable timing data.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
information about timing information.
|
||||
.RE
|
||||
.RE
|
||||
@ -214,16 +214,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -236,34 +236,34 @@ The output format for diagnostic messages. Can be specified multiple times
|
||||
and consists of comma\-separated values. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\h'-04'\(bu\h'+03'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\fBshort\fR and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
\h'-04'\(bu\h'+03'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/external\-tools.html#json\-messages>
|
||||
for more details. Conflicts with \fBhuman\fR and \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
the \[lq]short\[rq] rendering from rustc. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
contains embedded ANSI color codes for respecting rustc\[cq]s default color
|
||||
scheme. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
\h'-04'\(bu\h'+03'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
in JSON messages printed, but instead Cargo itself should render the
|
||||
JSON diagnostics coming from rustc. Cargo\[cq]s own JSON diagnostics and others
|
||||
coming from rustc are still emitted. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
@ -289,11 +289,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -405,11 +405,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -60,16 +60,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -90,11 +90,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -180,11 +180,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -297,7 +297,7 @@ Specifying an output format (rather than the default) is unstable and requires
|
||||
\fB\-Zunstable\-options\fR\&. Valid output formats:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\h'-04'\(bu\h'+03'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\fBtarget/cargo\-timings\fR directory with a report of the compilation. Also write
|
||||
a report to the same directory with a timestamp in the filename if you want
|
||||
to look at older runs. HTML output is suitable for human consumption only,
|
||||
@ -305,7 +305,7 @@ and does not provide machine\-readable timing data.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
information about timing information.
|
||||
.RE
|
||||
.RE
|
||||
@ -342,16 +342,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -364,34 +364,34 @@ The output format for diagnostic messages. Can be specified multiple times
|
||||
and consists of comma\-separated values. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\h'-04'\(bu\h'+03'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\fBshort\fR and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
\h'-04'\(bu\h'+03'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/external\-tools.html#json\-messages>
|
||||
for more details. Conflicts with \fBhuman\fR and \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
the \[lq]short\[rq] rendering from rustc. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
contains embedded ANSI color codes for respecting rustc\[cq]s default color
|
||||
scheme. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
\h'-04'\(bu\h'+03'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
in JSON messages printed, but instead Cargo itself should render the
|
||||
JSON diagnostics coming from rustc. Cargo\[cq]s own JSON diagnostics and others
|
||||
coming from rustc are still emitted. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
@ -417,11 +417,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -533,11 +533,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -39,16 +39,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -74,11 +74,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -166,11 +166,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -58,16 +58,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -82,11 +82,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -160,11 +160,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -88,16 +88,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -150,11 +150,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -22,23 +22,23 @@ installed, and all executables are installed into the installation root\[cq]s
|
||||
The installation root is determined, in order of precedence:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB\-\-root\fR option
|
||||
\h'-04'\(bu\h'+03'\fB\-\-root\fR option
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBCARGO_INSTALL_ROOT\fR environment variable
|
||||
\h'-04'\(bu\h'+03'\fBCARGO_INSTALL_ROOT\fR environment variable
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBinstall.root\fR Cargo \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>
|
||||
\h'-04'\(bu\h'+03'\fBinstall.root\fR Cargo \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBCARGO_HOME\fR environment variable
|
||||
\h'-04'\(bu\h'+03'\fBCARGO_HOME\fR environment variable
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB$HOME/.cargo\fR
|
||||
\h'-04'\(bu\h'+03'\fB$HOME/.cargo\fR
|
||||
.RE
|
||||
.sp
|
||||
There are multiple sources from which a crate can be installed. The default
|
||||
@ -59,23 +59,23 @@ version does not appear to be up\-to\-date. If any of the following values
|
||||
change, then Cargo will reinstall the package:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The package version and source.
|
||||
\h'-04'\(bu\h'+03'The package version and source.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The set of binary names installed.
|
||||
\h'-04'\(bu\h'+03'The set of binary names installed.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The chosen features.
|
||||
\h'-04'\(bu\h'+03'The chosen features.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The profile (\fB\-\-profile\fR).
|
||||
\h'-04'\(bu\h'+03'The profile (\fB\-\-profile\fR).
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The target (\fB\-\-target\fR).
|
||||
\h'-04'\(bu\h'+03'The target (\fB\-\-target\fR).
|
||||
.RE
|
||||
.sp
|
||||
Installing with \fB\-\-path\fR will always build and install, unless there are
|
||||
@ -288,7 +288,7 @@ Specifying an output format (rather than the default) is unstable and requires
|
||||
\fB\-Zunstable\-options\fR\&. Valid output formats:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\h'-04'\(bu\h'+03'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\fBtarget/cargo\-timings\fR directory with a report of the compilation. Also write
|
||||
a report to the same directory with a timestamp in the filename if you want
|
||||
to look at older runs. HTML output is suitable for human consumption only,
|
||||
@ -296,7 +296,7 @@ and does not provide machine\-readable timing data.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
information about timing information.
|
||||
.RE
|
||||
.RE
|
||||
@ -314,11 +314,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -393,16 +393,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -415,34 +415,34 @@ The output format for diagnostic messages. Can be specified multiple times
|
||||
and consists of comma\-separated values. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\h'-04'\(bu\h'+03'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\fBshort\fR and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
\h'-04'\(bu\h'+03'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/external\-tools.html#json\-messages>
|
||||
for more details. Conflicts with \fBhuman\fR and \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
the \[lq]short\[rq] rendering from rustc. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
contains embedded ANSI color codes for respecting rustc\[cq]s default color
|
||||
scheme. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
\h'-04'\(bu\h'+03'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
in JSON messages printed, but instead Cargo itself should render the
|
||||
JSON diagnostics coming from rustc. Cargo\[cq]s own JSON diagnostics and others
|
||||
coming from rustc are still emitted. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
@ -495,11 +495,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -30,11 +30,11 @@ workspace member.
|
||||
The representation in which to print the project location. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR (default): JSON object with the path under the key \[lq]root\[rq]\&.
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR (default): JSON object with the path under the key \[lq]root\[rq]\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBplain\fR: Just the path.
|
||||
\h'-04'\(bu\h'+03'\fBplain\fR: Just the path.
|
||||
.RE
|
||||
.RE
|
||||
.sp
|
||||
@ -60,16 +60,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -129,11 +129,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -61,16 +61,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -123,11 +123,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -60,16 +60,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -122,11 +122,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -25,17 +25,17 @@ some scenarios. The following is a non\-exhaustive list of changes that are not
|
||||
considered as incompatible:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBAdding new fields\fR \[em] New fields will be added when needed. Reserving this
|
||||
\h'-04'\(bu\h'+03'\fBAdding new fields\fR \[em] New fields will be added when needed. Reserving this
|
||||
helps Cargo evolve without bumping the format version too often.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBAdding new values for enum\-like fields\fR \[em] Same as adding new fields. It
|
||||
\h'-04'\(bu\h'+03'\fBAdding new values for enum\-like fields\fR \[em] Same as adding new fields. It
|
||||
keeps metadata evolving without stagnation.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBChanging opaque representations\fR \[em] The inner representations of some
|
||||
\h'-04'\(bu\h'+03'\fBChanging opaque representations\fR \[em] The inner representations of some
|
||||
fields are implementation details. For example, fields related to
|
||||
\[lq]Source ID\[rq] are treated as opaque identifiers to differentiate packages or
|
||||
sources. Consumers shouldn\[cq]t rely on those representations unless specified.
|
||||
@ -344,7 +344,7 @@ The JSON output has the following format:
|
||||
Notes:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'For \fB"id"\fR field syntax, see \fIPackage ID Specifications\fR <https://doc.rust\-lang.org/cargo/reference/pkgid\-spec.html> in the reference.
|
||||
\h'-04'\(bu\h'+03'For \fB"id"\fR field syntax, see \fIPackage ID Specifications\fR <https://doc.rust\-lang.org/cargo/reference/pkgid\-spec.html> in the reference.
|
||||
.RE
|
||||
.SH "OPTIONS"
|
||||
.SS "Output Options"
|
||||
@ -420,16 +420,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -450,11 +450,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -542,11 +542,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -83,16 +83,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -145,11 +145,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -94,16 +94,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -156,11 +156,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -16,7 +16,7 @@ stored in the \fBtarget/package\fR directory. This performs the following steps:
|
||||
\h'-04' 1.\h'+01'Load and check the current workspace, performing some basic checks.
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Path dependencies are not allowed unless they have a version key. Cargo
|
||||
\h'-04'\(bu\h'+03'Path dependencies are not allowed unless they have a version key. Cargo
|
||||
will ignore the path key for dependencies in published packages.
|
||||
\fBdev\-dependencies\fR do not have this restriction.
|
||||
.RE
|
||||
@ -26,32 +26,32 @@ will ignore the path key for dependencies in published packages.
|
||||
\h'-04' 2.\h'+01'Create the compressed \fB\&.crate\fR file.
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The original \fBCargo.toml\fR file is rewritten and normalized.
|
||||
\h'-04'\(bu\h'+03'The original \fBCargo.toml\fR file is rewritten and normalized.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB[patch]\fR, \fB[replace]\fR, and \fB[workspace]\fR sections are removed from the
|
||||
\h'-04'\(bu\h'+03'\fB[patch]\fR, \fB[replace]\fR, and \fB[workspace]\fR sections are removed from the
|
||||
manifest.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBCargo.lock\fR is always included. When missing, a new lock file will be
|
||||
\h'-04'\(bu\h'+03'\fBCargo.lock\fR is always included. When missing, a new lock file will be
|
||||
generated. \fBcargo\-install\fR(1) will use the packaged lock file if
|
||||
the \fB\-\-locked\fR flag is used.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'A \fB\&.cargo_vcs_info.json\fR file is included that contains information
|
||||
\h'-04'\(bu\h'+03'A \fB\&.cargo_vcs_info.json\fR file is included that contains information
|
||||
about the current VCS checkout hash if available, as well as a flag if the
|
||||
worktree is dirty.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Symlinks are flattened to their target files.
|
||||
\h'-04'\(bu\h'+03'Symlinks are flattened to their target files.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Files and directories are included or excluded based on rules mentioned in
|
||||
\h'-04'\(bu\h'+03'Files and directories are included or excluded based on rules mentioned in
|
||||
\fIthe \f(BI[include]\fI and \f(BI[exclude]\fI fields\fR <https://doc.rust\-lang.org/cargo/reference/manifest.html#the\-exclude\-and\-include\-fields>\&.
|
||||
.RE
|
||||
.RE
|
||||
@ -60,7 +60,7 @@ worktree is dirty.
|
||||
\h'-04' 3.\h'+01'Extract the \fB\&.crate\fR file and build it to verify it can build.
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'This will rebuild your package from scratch to ensure that it can be
|
||||
\h'-04'\(bu\h'+03'This will rebuild your package from scratch to ensure that it can be
|
||||
built from a pristine state. The \fB\-\-no\-verify\fR flag can be used to skip
|
||||
this step.
|
||||
.RE
|
||||
@ -238,11 +238,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -331,16 +331,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -393,11 +393,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -98,16 +98,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -128,11 +128,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -220,11 +220,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -17,7 +17,7 @@ following steps:
|
||||
\h'-04' 1.\h'+01'Performs a few checks, including:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Checks the \fBpackage.publish\fR key in the manifest for restrictions on
|
||||
\h'-04'\(bu\h'+03'Checks the \fBpackage.publish\fR key in the manifest for restrictions on
|
||||
which registries you are allowed to publish to.
|
||||
.RE
|
||||
.RE
|
||||
@ -206,11 +206,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -299,16 +299,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -361,11 +361,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -58,16 +58,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -88,11 +88,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -187,11 +187,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -106,7 +106,7 @@ Specifying an output format (rather than the default) is unstable and requires
|
||||
\fB\-Zunstable\-options\fR\&. Valid output formats:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\h'-04'\(bu\h'+03'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\fBtarget/cargo\-timings\fR directory with a report of the compilation. Also write
|
||||
a report to the same directory with a timestamp in the filename if you want
|
||||
to look at older runs. HTML output is suitable for human consumption only,
|
||||
@ -114,7 +114,7 @@ and does not provide machine\-readable timing data.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
information about timing information.
|
||||
.RE
|
||||
.RE
|
||||
@ -151,16 +151,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -173,34 +173,34 @@ The output format for diagnostic messages. Can be specified multiple times
|
||||
and consists of comma\-separated values. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\h'-04'\(bu\h'+03'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\fBshort\fR and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
\h'-04'\(bu\h'+03'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/external\-tools.html#json\-messages>
|
||||
for more details. Conflicts with \fBhuman\fR and \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
the \[lq]short\[rq] rendering from rustc. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
contains embedded ANSI color codes for respecting rustc\[cq]s default color
|
||||
scheme. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
\h'-04'\(bu\h'+03'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
in JSON messages printed, but instead Cargo itself should render the
|
||||
JSON diagnostics coming from rustc. Cargo\[cq]s own JSON diagnostics and others
|
||||
coming from rustc are still emitted. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
@ -226,11 +226,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -342,11 +342,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -178,19 +178,19 @@ Build with the given profile.
|
||||
The \fBrustc\fR subcommand will treat the following named profiles with special behaviors:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBcheck\fR \[em] Builds in the same way as the \fBcargo\-check\fR(1) command with
|
||||
\h'-04'\(bu\h'+03'\fBcheck\fR \[em] Builds in the same way as the \fBcargo\-check\fR(1) command with
|
||||
the \fBdev\fR profile.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBtest\fR \[em] Builds in the same way as the \fBcargo\-test\fR(1) command,
|
||||
\h'-04'\(bu\h'+03'\fBtest\fR \[em] Builds in the same way as the \fBcargo\-test\fR(1) command,
|
||||
enabling building in test mode which will enable tests and enable the \fBtest\fR
|
||||
cfg option. See \fIrustc
|
||||
tests\fR <https://doc.rust\-lang.org/rustc/tests/index.html> for more detail.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBbench\fR \[em] Builds in the same was as the \fBcargo\-bench\fR(1) command,
|
||||
\h'-04'\(bu\h'+03'\fBbench\fR \[em] Builds in the same was as the \fBcargo\-bench\fR(1) command,
|
||||
similar to the \fBtest\fR profile.
|
||||
.RE
|
||||
.sp
|
||||
@ -206,7 +206,7 @@ Specifying an output format (rather than the default) is unstable and requires
|
||||
\fB\-Zunstable\-options\fR\&. Valid output formats:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\h'-04'\(bu\h'+03'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\fBtarget/cargo\-timings\fR directory with a report of the compilation. Also write
|
||||
a report to the same directory with a timestamp in the filename if you want
|
||||
to look at older runs. HTML output is suitable for human consumption only,
|
||||
@ -214,7 +214,7 @@ and does not provide machine\-readable timing data.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
information about timing information.
|
||||
.RE
|
||||
.RE
|
||||
@ -265,16 +265,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -287,34 +287,34 @@ The output format for diagnostic messages. Can be specified multiple times
|
||||
and consists of comma\-separated values. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\h'-04'\(bu\h'+03'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\fBshort\fR and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
\h'-04'\(bu\h'+03'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/external\-tools.html#json\-messages>
|
||||
for more details. Conflicts with \fBhuman\fR and \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
the \[lq]short\[rq] rendering from rustc. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
contains embedded ANSI color codes for respecting rustc\[cq]s default color
|
||||
scheme. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
\h'-04'\(bu\h'+03'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
in JSON messages printed, but instead Cargo itself should render the
|
||||
JSON diagnostics coming from rustc. Cargo\[cq]s own JSON diagnostics and others
|
||||
coming from rustc are still emitted. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
@ -340,11 +340,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -464,11 +464,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -188,7 +188,7 @@ Specifying an output format (rather than the default) is unstable and requires
|
||||
\fB\-Zunstable\-options\fR\&. Valid output formats:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\h'-04'\(bu\h'+03'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\fBtarget/cargo\-timings\fR directory with a report of the compilation. Also write
|
||||
a report to the same directory with a timestamp in the filename if you want
|
||||
to look at older runs. HTML output is suitable for human consumption only,
|
||||
@ -196,7 +196,7 @@ and does not provide machine\-readable timing data.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
information about timing information.
|
||||
.RE
|
||||
.RE
|
||||
@ -233,16 +233,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -255,34 +255,34 @@ The output format for diagnostic messages. Can be specified multiple times
|
||||
and consists of comma\-separated values. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\h'-04'\(bu\h'+03'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\fBshort\fR and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
\h'-04'\(bu\h'+03'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/external\-tools.html#json\-messages>
|
||||
for more details. Conflicts with \fBhuman\fR and \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
the \[lq]short\[rq] rendering from rustc. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
contains embedded ANSI color codes for respecting rustc\[cq]s default color
|
||||
scheme. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
\h'-04'\(bu\h'+03'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
in JSON messages printed, but instead Cargo itself should render the
|
||||
JSON diagnostics coming from rustc. Cargo\[cq]s own JSON diagnostics and others
|
||||
coming from rustc are still emitted. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
@ -308,11 +308,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -424,11 +424,11 @@ builds, even if the one run first fails.
|
||||
The output type for the documentation emitted. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhtml\fR (default): Emit the documentation in HTML format.
|
||||
\h'-04'\(bu\h'+03'\fBhtml\fR (default): Emit the documentation in HTML format.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR: Emit the documentation in the \fIexperimental JSON format\fR <https://doc.rust\-lang.org/nightly/nightly\-rustc/rustdoc_json_types>\&.
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR: Emit the documentation in the \fIexperimental JSON format\fR <https://doc.rust\-lang.org/nightly/nightly\-rustc/rustdoc_json_types>\&.
|
||||
.RE
|
||||
.sp
|
||||
This option is only available on the \fInightly channel\fR <https://doc.rust\-lang.org/book/appendix\-07\-nightly\-rust.html>
|
||||
@ -440,11 +440,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -55,16 +55,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -117,11 +117,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -126,32 +126,32 @@ When no target selection options are given, \fBcargo test\fR will build the
|
||||
following targets of the selected packages:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'lib \[em] used to link with binaries, examples, integration tests, and doc tests
|
||||
\h'-04'\(bu\h'+03'lib \[em] used to link with binaries, examples, integration tests, and doc tests
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'bins (only if integration tests are built and required features are
|
||||
\h'-04'\(bu\h'+03'bins (only if integration tests are built and required features are
|
||||
available)
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'examples \[em] to ensure they compile
|
||||
\h'-04'\(bu\h'+03'examples \[em] to ensure they compile
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'lib as a unit test
|
||||
\h'-04'\(bu\h'+03'lib as a unit test
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'bins as unit tests
|
||||
\h'-04'\(bu\h'+03'bins as unit tests
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'integration tests
|
||||
\h'-04'\(bu\h'+03'integration tests
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'doc tests for the lib target
|
||||
\h'-04'\(bu\h'+03'doc tests for the lib target
|
||||
.RE
|
||||
.sp
|
||||
The default behavior can be changed by setting the \fBtest\fR flag for the target
|
||||
@ -321,7 +321,7 @@ Specifying an output format (rather than the default) is unstable and requires
|
||||
\fB\-Zunstable\-options\fR\&. Valid output formats:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\h'-04'\(bu\h'+03'\fBhtml\fR (unstable, requires \fB\-Zunstable\-options\fR): Write a human\-readable file \fBcargo\-timing.html\fR to the
|
||||
\fBtarget/cargo\-timings\fR directory with a report of the compilation. Also write
|
||||
a report to the same directory with a timestamp in the filename if you want
|
||||
to look at older runs. HTML output is suitable for human consumption only,
|
||||
@ -329,7 +329,7 @@ and does not provide machine\-readable timing data.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR (unstable, requires \fB\-Zunstable\-options\fR): Emit machine\-readable JSON
|
||||
information about timing information.
|
||||
.RE
|
||||
.RE
|
||||
@ -375,16 +375,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -397,34 +397,34 @@ The output format for diagnostic messages. Can be specified multiple times
|
||||
and consists of comma\-separated values. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\h'-04'\(bu\h'+03'\fBhuman\fR (default): Display in a human\-readable text format. Conflicts with
|
||||
\fBshort\fR and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
\h'-04'\(bu\h'+03'\fBshort\fR: Emit shorter, human\-readable text messages. Conflicts with \fBhuman\fR
|
||||
and \fBjson\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\h'-04'\(bu\h'+03'\fBjson\fR: Emit JSON messages to stdout. See
|
||||
\fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/external\-tools.html#json\-messages>
|
||||
for more details. Conflicts with \fBhuman\fR and \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-short\fR: Ensure the \fBrendered\fR field of JSON messages contains
|
||||
the \[lq]short\[rq] rendering from rustc. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
\h'-04'\(bu\h'+03'\fBjson\-diagnostic\-rendered\-ansi\fR: Ensure the \fBrendered\fR field of JSON messages
|
||||
contains embedded ANSI color codes for respecting rustc\[cq]s default color
|
||||
scheme. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
\h'-04'\(bu\h'+03'\fBjson\-render\-diagnostics\fR: Instruct Cargo to not include rustc diagnostics
|
||||
in JSON messages printed, but instead Cargo itself should render the
|
||||
JSON diagnostics coming from rustc. Cargo\[cq]s own JSON diagnostics and others
|
||||
coming from rustc are still emitted. Cannot be used with \fBhuman\fR or \fBshort\fR\&.
|
||||
@ -450,11 +450,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -583,11 +583,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -126,40 +126,40 @@ only one instance is built.
|
||||
The dependency kinds to display. Takes a comma separated list of values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBall\fR \[em] Show all edge kinds.
|
||||
\h'-04'\(bu\h'+03'\fBall\fR \[em] Show all edge kinds.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnormal\fR \[em] Show normal dependencies.
|
||||
\h'-04'\(bu\h'+03'\fBnormal\fR \[em] Show normal dependencies.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBbuild\fR \[em] Show build dependencies.
|
||||
\h'-04'\(bu\h'+03'\fBbuild\fR \[em] Show build dependencies.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBdev\fR \[em] Show development dependencies.
|
||||
\h'-04'\(bu\h'+03'\fBdev\fR \[em] Show development dependencies.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBfeatures\fR \[em] Show features enabled by each dependency. If this is the only
|
||||
\h'-04'\(bu\h'+03'\fBfeatures\fR \[em] Show features enabled by each dependency. If this is the only
|
||||
kind given, then it will automatically include the other dependency kinds.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBno\-normal\fR \[em] Do not include normal dependencies.
|
||||
\h'-04'\(bu\h'+03'\fBno\-normal\fR \[em] Do not include normal dependencies.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBno\-build\fR \[em] Do not include build dependencies.
|
||||
\h'-04'\(bu\h'+03'\fBno\-build\fR \[em] Do not include build dependencies.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBno\-dev\fR \[em] Do not include development dependencies.
|
||||
\h'-04'\(bu\h'+03'\fBno\-dev\fR \[em] Do not include development dependencies.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBno\-proc\-macro\fR \[em] Do not include procedural macro dependencies.
|
||||
\h'-04'\(bu\h'+03'\fBno\-proc\-macro\fR \[em] Do not include procedural macro dependencies.
|
||||
.RE
|
||||
.sp
|
||||
The \fBnormal\fR, \fBbuild\fR, \fBdev\fR, and \fBall\fR dependency kinds cannot be mixed with
|
||||
@ -190,23 +190,23 @@ This is an arbitrary string which will be used to display each package. The foll
|
||||
strings will be replaced with the corresponding value:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB{p}\fR \[em] The package name.
|
||||
\h'-04'\(bu\h'+03'\fB{p}\fR \[em] The package name.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB{l}\fR \[em] The package license.
|
||||
\h'-04'\(bu\h'+03'\fB{l}\fR \[em] The package license.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB{r}\fR \[em] The package repository URL.
|
||||
\h'-04'\(bu\h'+03'\fB{r}\fR \[em] The package repository URL.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB{f}\fR \[em] Comma\-separated list of package features that are enabled.
|
||||
\h'-04'\(bu\h'+03'\fB{f}\fR \[em] Comma\-separated list of package features that are enabled.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB{lib}\fR \[em] The name, as used in a \fBuse\fR statement, of the package\[cq]s library.
|
||||
\h'-04'\(bu\h'+03'\fB{lib}\fR \[em] The name, as used in a \fBuse\fR statement, of the package\[cq]s library.
|
||||
.RE
|
||||
.RE
|
||||
.sp
|
||||
@ -215,15 +215,15 @@ strings will be replaced with the corresponding value:
|
||||
Sets how each line is displayed. The \fIprefix\fR value can be one of:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBindent\fR (default) \[em] Shows each line indented as a tree.
|
||||
\h'-04'\(bu\h'+03'\fBindent\fR (default) \[em] Shows each line indented as a tree.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBdepth\fR \[em] Show as a list, with the numeric depth printed before each entry.
|
||||
\h'-04'\(bu\h'+03'\fBdepth\fR \[em] Show as a list, with the numeric depth printed before each entry.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnone\fR \[em] Show as a flat list.
|
||||
\h'-04'\(bu\h'+03'\fBnone\fR \[em] Show as a flat list.
|
||||
.RE
|
||||
.RE
|
||||
.SS "Package Selection"
|
||||
@ -276,11 +276,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -370,16 +370,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -432,11 +432,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -18,23 +18,23 @@ By default all binaries are removed for a crate but the \fB\-\-bin\fR and
|
||||
The installation root is determined, in order of precedence:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB\-\-root\fR option
|
||||
\h'-04'\(bu\h'+03'\fB\-\-root\fR option
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBCARGO_INSTALL_ROOT\fR environment variable
|
||||
\h'-04'\(bu\h'+03'\fBCARGO_INSTALL_ROOT\fR environment variable
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBinstall.root\fR Cargo \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>
|
||||
\h'-04'\(bu\h'+03'\fBinstall.root\fR Cargo \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBCARGO_HOME\fR environment variable
|
||||
\h'-04'\(bu\h'+03'\fBCARGO_HOME\fR environment variable
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB$HOME/.cargo\fR
|
||||
\h'-04'\(bu\h'+03'\fB$HOME/.cargo\fR
|
||||
.RE
|
||||
.SH "OPTIONS"
|
||||
.SS "Uninstall Options"
|
||||
@ -78,16 +78,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -140,11 +140,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -57,19 +57,19 @@ Version requirements will be modified to allow this update.
|
||||
This only applies to dependencies when
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The package is a dependency of a workspace member
|
||||
\h'-04'\(bu\h'+03'The package is a dependency of a workspace member
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The dependency is not renamed
|
||||
\h'-04'\(bu\h'+03'The dependency is not renamed
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'A SemVer\-incompatible version is available
|
||||
\h'-04'\(bu\h'+03'A SemVer\-incompatible version is available
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The \[lq]SemVer operator\[rq] is used (\fB^\fR which is the default)
|
||||
\h'-04'\(bu\h'+03'The \[lq]SemVer operator\[rq] is used (\fB^\fR which is the default)
|
||||
.RE
|
||||
.sp
|
||||
This option is unstable and available only on the
|
||||
@ -115,16 +115,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -150,11 +150,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -242,11 +242,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -69,11 +69,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -138,16 +138,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -200,11 +200,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -165,16 +165,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -227,11 +227,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.sp
|
||||
|
@ -200,16 +200,16 @@ May also be specified with the \fBterm.quiet\fR
|
||||
Control when colored output is used. Valid values:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
\h'-04'\(bu\h'+03'\fBauto\fR (default): Automatically detect if color support is available on the
|
||||
terminal.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBalways\fR: Always display colors.
|
||||
\h'-04'\(bu\h'+03'\fBalways\fR: Always display colors.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fBnever\fR: Never display colors.
|
||||
\h'-04'\(bu\h'+03'\fBnever\fR: Never display colors.
|
||||
.RE
|
||||
.sp
|
||||
May also be specified with the \fBterm.color\fR
|
||||
@ -224,11 +224,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
|
||||
error when either of the following scenarios arises:
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'The lock file is missing.
|
||||
\h'-04'\(bu\h'+03'The lock file is missing.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
\h'-04'\(bu\h'+03'Cargo attempted to change the lock file due to a different dependency resolution.
|
||||
.RE
|
||||
.sp
|
||||
It may be used in environments where deterministic builds are desired,
|
||||
@ -302,11 +302,11 @@ details on environment variables that Cargo reads.
|
||||
.SH "EXIT STATUS"
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB0\fR: Cargo succeeded.
|
||||
\h'-04'\(bu\h'+03'\fB0\fR: Cargo succeeded.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
\h'-04'\(bu\h'+02'\fB101\fR: Cargo failed to complete.
|
||||
\h'-04'\(bu\h'+03'\fB101\fR: Cargo failed to complete.
|
||||
.RE
|
||||
.SH "FILES"
|
||||
\fB~/.cargo/\fR
|
||||
|
Loading…
x
Reference in New Issue
Block a user