mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Auto merge of #6459 - ehuss:fix-man-checks, r=alexcrichton
Fix new man page links. The rustc link checker found some problems: - The raw generated HTML files were being included when they shouldn't. Fixed by moving them out of the mdbook directory. - The `print.html` file concatenates all the pages together, causing duplicate `id`'s. Fix by giving each page a unique set of IDs.
This commit is contained in:
commit
451f97ea0e
@ -4,14 +4,14 @@
|
||||
# format. See https://asciidoctor.org/ for more information.
|
||||
#
|
||||
# Just run `make` and it will generate the man pages in src/etc/man and the
|
||||
# HTML pages in src/doc/src/commands/generated.
|
||||
# HTML pages in src/doc/man/generated.
|
||||
#
|
||||
# There are some Asciidoctor extensions, see the file `asciidoc-extensions.rb`
|
||||
# for the documentation.
|
||||
|
||||
MAN_SOURCE = $(sort $(wildcard man/cargo*.adoc))
|
||||
COMMANDS = $(notdir $(MAN_SOURCE))
|
||||
HTML = $(patsubst %.adoc,src/commands/generated/%.html,$(COMMANDS))
|
||||
HTML = $(patsubst %.adoc,man/generated/%.html,$(COMMANDS))
|
||||
MAN_LOCATION = ../etc/man
|
||||
MAN = $(patsubst %.adoc,$(MAN_LOCATION)/%.1,$(COMMANDS))
|
||||
ASCIIDOCOPTS = -r ./asciidoc-extension.rb
|
||||
@ -21,7 +21,7 @@ all: commands-html man
|
||||
commands-html: $(HTML)
|
||||
man: $(MAN)
|
||||
|
||||
$(HTML): src/commands/generated/%.html : man/%.adoc asciidoc-extension.rb $(OTHER_DEPS)
|
||||
$(HTML): man/generated/%.html : man/%.adoc asciidoc-extension.rb $(OTHER_DEPS)
|
||||
asciidoctor $(ASCIIDOCOPTS) -s $< -o $@
|
||||
|
||||
$(MAN): $(MAN_LOCATION)/%.1 : man/%.adoc $(OTHER_DEPS)
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-bench(1)
|
||||
:idprefix: cargo_bench_
|
||||
:doctype: manpage
|
||||
:actionverb: Benchmark
|
||||
:nouns: benchmarks
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-build(1)
|
||||
:idprefix: cargo_build_
|
||||
:doctype: manpage
|
||||
:actionverb: Build
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-check(1)
|
||||
:idprefix: cargo_check_
|
||||
:doctype: manpage
|
||||
:actionverb: Check
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-clean(1)
|
||||
:idprefix: cargo_clean_
|
||||
:doctype: manpage
|
||||
:actionverb: Clean
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-doc(1)
|
||||
:idprefix: cargo_doc_
|
||||
:doctype: manpage
|
||||
:actionverb: Document
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-fetch(1)
|
||||
:idprefix: cargo_fetch_
|
||||
:doctype: manpage
|
||||
:actionverb: Fetch
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-fix(1)
|
||||
:idprefix: cargo_fix_
|
||||
:doctype: manpage
|
||||
:actionverb: Fix
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-generate-lockfile(1)
|
||||
:idprefix: cargo_generate-lockfile_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-help(1)
|
||||
:idprefix: cargo_help_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-init(1)
|
||||
:idprefix: cargo_init_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-install(1)
|
||||
:idprefix: cargo_install_
|
||||
:doctype: manpage
|
||||
:actionverb: Install
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-locate-project(1)
|
||||
:idprefix: cargo_locate-project_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-login(1)
|
||||
:idprefix: cargo_login_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-metadata(1)
|
||||
:idprefix: cargo_metadata_
|
||||
:doctype: manpage
|
||||
:source-highlighter: highlightjs
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-new(1)
|
||||
:idprefix: cargo_new_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-owner(1)
|
||||
:idprefix: cargo_owner_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-package(1)
|
||||
:idprefix: cargo_package_
|
||||
:doctype: manpage
|
||||
:actionverb: Package
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-pkgid(1)
|
||||
:idprefix: cargo_pkgid_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-publish(1)
|
||||
:idprefix: cargo_publish_
|
||||
:doctype: manpage
|
||||
:actionverb: Publish
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-run(1)
|
||||
:idprefix: cargo_run_
|
||||
:doctype: manpage
|
||||
:actionverb: Run
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-rustc(1)
|
||||
:idprefix: cargo_rustc_
|
||||
:doctype: manpage
|
||||
:actionverb: Build
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-rustdoc(1)
|
||||
:idprefix: cargo_rustdoc_
|
||||
:doctype: manpage
|
||||
:actionverb: Document
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-search(1)
|
||||
:idprefix: cargo_search_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-test(1)
|
||||
:idprefix: cargo_test_
|
||||
:doctype: manpage
|
||||
:actionverb: Test
|
||||
:nouns: tests
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-uninstall(1)
|
||||
:idprefix: cargo_uninstall_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-update(1)
|
||||
:idprefix: cargo_update_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-verify-project(1)
|
||||
:idprefix: cargo_verify-project_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-version(1)
|
||||
:idprefix: cargo_version_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,4 +1,5 @@
|
||||
= cargo-yank(1)
|
||||
:idprefix: cargo_yank_
|
||||
:doctype: manpage
|
||||
|
||||
== NAME
|
||||
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_bench_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-bench - Execute benchmarks of a package</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_bench_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo bench [<em>OPTIONS</em>] [BENCHNAME] [-- <em>BENCH-OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_bench_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Compile and execute benchmarks.</p>
|
||||
@ -42,10 +42,10 @@ benchmarks.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_bench_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_benchmark_options">Benchmark Options</h3>
|
||||
<h3 id="cargo_bench_benchmark_options">Benchmark Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--no-run</strong></dt>
|
||||
@ -63,7 +63,7 @@ the executable as a whole.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_package_selection">Package Selection</h3>
|
||||
<h3 id="cargo_bench_package_selection">Package Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>By default, when no package selection options are given, the packages selected
|
||||
depend on the current working directory. In the root of a virtual workspace,
|
||||
@ -93,7 +93,7 @@ SPEC format. This flag may be specified multiple times.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_target_selection">Target Selection</h3>
|
||||
<h3 id="cargo_bench_target_selection">Target Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no target selection options are given, <code>cargo bench</code> will build the
|
||||
following targets of the selected packages:</p>
|
||||
@ -184,7 +184,7 @@ settings.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_feature_selection">Feature Selection</h3>
|
||||
<h3 id="cargo_bench_feature_selection">Feature Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no feature options are given, the <code>default</code> feature is activated for
|
||||
every selected package.</p>
|
||||
@ -210,7 +210,7 @@ package.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_compilation_options">Compilation Options</h3>
|
||||
<h3 id="cargo_bench_compilation_options">Compilation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target</strong> <em>TRIPLE</em></dt>
|
||||
@ -258,7 +258,7 @@ supported targets.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_output_options">Output Options</h3>
|
||||
<h3 id="cargo_bench_output_options">Output Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target-dir</strong> <em>DIRECTORY</em></dt>
|
||||
@ -272,7 +272,7 @@ to <code>target</code> in the root of the workspace.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_bench_display_options">Display Options</h3>
|
||||
<div class="paragraph">
|
||||
<p>By default the Rust test harness hides output from benchmark execution to keep
|
||||
results readable. Benchmark output can be recovered (e.g. for debugging) by
|
||||
@ -341,7 +341,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_bench_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -366,7 +366,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_bench_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -383,7 +383,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<h3 id="cargo_bench_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<div class="paragraph">
|
||||
<p>The <code>--jobs</code> argument affects the building of the benchmark executable but
|
||||
does not affect how many threads are used when running the benchmarks. The
|
||||
@ -404,7 +404,7 @@ the number of CPUs.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_profiles">PROFILES</h2>
|
||||
<h2 id="cargo_bench_profiles">PROFILES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Profiles may be used to configure compiler options such as optimization levels
|
||||
@ -427,7 +427,7 @@ benchmark manually.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_bench_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -436,7 +436,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_bench_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -453,7 +453,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_bench_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -478,7 +478,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_bench_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-test.html">cargo-test(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_build_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-build - Compile the current package</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_build_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo build [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_build_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Compile local packages and all of their dependencies.</p>
|
||||
@ -19,10 +19,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_build_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_package_selection">Package Selection</h3>
|
||||
<h3 id="cargo_build_package_selection">Package Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>By default, when no package selection options are given, the packages selected
|
||||
depend on the current working directory. In the root of a virtual workspace,
|
||||
@ -52,7 +52,7 @@ SPEC format. This flag may be specified multiple times.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_target_selection">Target Selection</h3>
|
||||
<h3 id="cargo_build_target_selection">Target Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no target selection options are given, <code>cargo build</code> will build all
|
||||
binary and library targets of the selected packages. Binaries are skipped if
|
||||
@ -116,7 +116,7 @@ settings.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_feature_selection">Feature Selection</h3>
|
||||
<h3 id="cargo_build_feature_selection">Feature Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no feature options are given, the <code>default</code> feature is activated for
|
||||
every selected package.</p>
|
||||
@ -142,7 +142,7 @@ package.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_compilation_options">Compilation Options</h3>
|
||||
<h3 id="cargo_build_compilation_options">Compilation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target</strong> <em>TRIPLE</em></dt>
|
||||
@ -189,13 +189,13 @@ supported targets.</p>
|
||||
<dt class="hdlist1"><strong>--release</strong></dt>
|
||||
<dd>
|
||||
<p>Build artifacts in release mode, with optimizations. See the
|
||||
<a href="#_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
<a href="#cargo_build_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_output_options">Output Options</h3>
|
||||
<h3 id="cargo_build_output_options">Output Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target-dir</strong> <em>DIRECTORY</em></dt>
|
||||
@ -217,7 +217,7 @@ the <code>-Z unstable-options</code> flag to enable.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_build_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -285,7 +285,7 @@ the <code>-Z unstable-options</code> flag to enable.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_build_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -310,7 +310,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_build_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -327,7 +327,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<h3 id="cargo_build_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-j</strong> <em>N</em></dt>
|
||||
@ -343,7 +343,7 @@ the number of CPUs.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_profiles">PROFILES</h2>
|
||||
<h2 id="cargo_build_profiles">PROFILES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Profiles may be used to configure compiler options such as optimization levels
|
||||
@ -388,7 +388,7 @@ for more details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_build_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -397,7 +397,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_build_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -414,7 +414,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_build_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -439,7 +439,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_build_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-rustc.html">cargo-rustc(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_check_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-check - Check the current package</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_check_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo check [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_check_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Check a local package and all of its dependencies for errors. This will
|
||||
@ -23,10 +23,10 @@ not been modified.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_check_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_package_selection">Package Selection</h3>
|
||||
<h3 id="cargo_check_package_selection">Package Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>By default, when no package selection options are given, the packages selected
|
||||
depend on the current working directory. In the root of a virtual workspace,
|
||||
@ -56,7 +56,7 @@ SPEC format. This flag may be specified multiple times.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_target_selection">Target Selection</h3>
|
||||
<h3 id="cargo_check_target_selection">Target Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no target selection options are given, <code>cargo check</code> will check all
|
||||
binary and library targets of the selected packages. Binaries are skipped if
|
||||
@ -120,7 +120,7 @@ settings.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_feature_selection">Feature Selection</h3>
|
||||
<h3 id="cargo_check_feature_selection">Feature Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no feature options are given, the <code>default</code> feature is activated for
|
||||
every selected package.</p>
|
||||
@ -146,7 +146,7 @@ package.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_compilation_options">Compilation Options</h3>
|
||||
<h3 id="cargo_check_compilation_options">Compilation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target</strong> <em>TRIPLE</em></dt>
|
||||
@ -193,7 +193,7 @@ supported targets.</p>
|
||||
<dt class="hdlist1"><strong>--release</strong></dt>
|
||||
<dd>
|
||||
<p>Check artifacts in release mode, with optimizations. See the
|
||||
<a href="#_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
<a href="#cargo_check_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
</dd>
|
||||
<dt class="hdlist1"><strong>--profile</strong> <em>NAME</em></dt>
|
||||
<dd>
|
||||
@ -207,7 +207,7 @@ the <code>cfg</code> attribute. This does not change the actual profile used.</p
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_output_options">Output Options</h3>
|
||||
<h3 id="cargo_check_output_options">Output Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target-dir</strong> <em>DIRECTORY</em></dt>
|
||||
@ -221,7 +221,7 @@ to <code>target</code> in the root of the workspace.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_check_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -280,7 +280,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_check_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -305,7 +305,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_check_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -322,7 +322,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<h3 id="cargo_check_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-j</strong> <em>N</em></dt>
|
||||
@ -338,7 +338,7 @@ the number of CPUs.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_profiles">PROFILES</h2>
|
||||
<h2 id="cargo_check_profiles">PROFILES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Profiles may be used to configure compiler options such as optimization levels
|
||||
@ -383,7 +383,7 @@ for more details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_check_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -392,7 +392,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_check_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -409,7 +409,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_check_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -434,7 +434,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_check_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-build.html">cargo-build(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_clean_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-clean - Remove generated artifacts</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_clean_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo clean [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_clean_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Remove artifacts from the target directory that Cargo has generated in the
|
||||
@ -23,10 +23,10 @@ past.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_clean_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_package_selection">Package Selection</h3>
|
||||
<h3 id="cargo_clean_package_selection">Package Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no packages are selected, all packages and all dependencies in the
|
||||
workspace are cleaned.</p>
|
||||
@ -43,7 +43,7 @@ multiple times. See <a href="commands/cargo-pkgid.html">cargo-pkgid(1)</a> for t
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_clean_options">Clean Options</h3>
|
||||
<h3 id="cargo_clean_clean_options">Clean Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--doc</strong></dt>
|
||||
@ -108,7 +108,7 @@ supported targets.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_clean_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -150,7 +150,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_clean_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -175,7 +175,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_clean_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -194,7 +194,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_clean_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -203,7 +203,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_clean_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -220,7 +220,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_clean_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -245,7 +245,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_clean_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-build.html">cargo-build(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_doc_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-doc - Build a package's documentation</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_doc_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo doc [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_doc_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Build the documentation for the local package and all dependencies. The output
|
||||
@ -20,10 +20,10 @@ is placed in <code>target/doc</code> in rustdoc’s usual format.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_doc_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_documentation_options">Documentation Options</h3>
|
||||
<h3 id="cargo_doc_documentation_options">Documentation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--open</strong></dt>
|
||||
@ -42,7 +42,7 @@ is placed in <code>target/doc</code> in rustdoc’s usual format.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_package_selection">Package Selection</h3>
|
||||
<h3 id="cargo_doc_package_selection">Package Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>By default, when no package selection options are given, the packages selected
|
||||
depend on the current working directory. In the root of a virtual workspace,
|
||||
@ -72,7 +72,7 @@ SPEC format. This flag may be specified multiple times.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_target_selection">Target Selection</h3>
|
||||
<h3 id="cargo_doc_target_selection">Target Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no target selection options are given, <code>cargo doc</code> will document all
|
||||
binary and library targets of the selected package. The binary will be skipped
|
||||
@ -102,7 +102,7 @@ flag and will always document the given target.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_feature_selection">Feature Selection</h3>
|
||||
<h3 id="cargo_doc_feature_selection">Feature Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no feature options are given, the <code>default</code> feature is activated for
|
||||
every selected package.</p>
|
||||
@ -128,7 +128,7 @@ package.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_compilation_options">Compilation Options</h3>
|
||||
<h3 id="cargo_doc_compilation_options">Compilation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target</strong> <em>TRIPLE</em></dt>
|
||||
@ -175,13 +175,13 @@ supported targets.</p>
|
||||
<dt class="hdlist1"><strong>--release</strong></dt>
|
||||
<dd>
|
||||
<p>Document artifacts in release mode, with optimizations. See the
|
||||
<a href="#_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
<a href="#cargo_doc_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_output_options">Output Options</h3>
|
||||
<h3 id="cargo_doc_output_options">Output Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target-dir</strong> <em>DIRECTORY</em></dt>
|
||||
@ -195,7 +195,7 @@ to <code>target</code> in the root of the workspace.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_doc_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -254,7 +254,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_doc_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -279,7 +279,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_doc_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -296,7 +296,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<h3 id="cargo_doc_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-j</strong> <em>N</em></dt>
|
||||
@ -312,7 +312,7 @@ the number of CPUs.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_profiles">PROFILES</h2>
|
||||
<h2 id="cargo_doc_profiles">PROFILES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Profiles may be used to configure compiler options such as optimization levels
|
||||
@ -357,7 +357,7 @@ for more details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_doc_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -366,7 +366,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_doc_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -383,7 +383,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_doc_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -401,7 +401,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_doc_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-rustdoc.html">cargo-rustdoc(1)</a>, <a href="https://doc.rust-lang.org/rustdoc/index.html">rustdoc(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_fetch_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-fetch - Fetch dependencies of a package from the network</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_fetch_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo fetch [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_fetch_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>If a <code>Cargo.lock</code> file is available, this command will ensure that all of the
|
||||
@ -29,10 +29,10 @@ file before fetching the dependencies.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_fetch_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_fetch_options">Fetch options</h3>
|
||||
<h3 id="cargo_fetch_fetch_options">Fetch options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target</strong> <em>TRIPLE</em></dt>
|
||||
@ -80,7 +80,7 @@ supported targets.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_fetch_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -122,7 +122,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_fetch_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -147,7 +147,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_fetch_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -166,7 +166,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_fetch_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -175,7 +175,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_fetch_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -192,7 +192,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_fetch_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -209,7 +209,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_fetch_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-update.html">cargo-update(1)</a>, <a href="commands/cargo-generate-lockfile.html">cargo-generate-lockfile(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_fix_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-fix - Automatically fix lint warnings reported by rustc</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_fix_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo fix [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_fix_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This Cargo subcommand will automatically take rustc’s suggestions from
|
||||
@ -58,10 +58,10 @@ or feature requests please don’t hesitate to file an issue at
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_fix_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_fix_options">Fix options</h3>
|
||||
<h3 id="cargo_fix_fix_options">Fix options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--broken-code</strong></dt>
|
||||
@ -97,7 +97,7 @@ current edition.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_package_selection">Package Selection</h3>
|
||||
<h3 id="cargo_fix_package_selection">Package Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>By default, when no package selection options are given, the packages selected
|
||||
depend on the current working directory. In the root of a virtual workspace,
|
||||
@ -127,7 +127,7 @@ SPEC format. This flag may be specified multiple times.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_target_selection">Target Selection</h3>
|
||||
<h3 id="cargo_fix_target_selection">Target Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no target selection options are given, <code>cargo fix</code> will fix all targets
|
||||
(<code>--all-targets</code> implied). Binaries are skipped if they have
|
||||
@ -191,7 +191,7 @@ settings.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_feature_selection">Feature Selection</h3>
|
||||
<h3 id="cargo_fix_feature_selection">Feature Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no feature options are given, the <code>default</code> feature is activated for
|
||||
every selected package.</p>
|
||||
@ -217,7 +217,7 @@ package.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_compilation_options">Compilation Options</h3>
|
||||
<h3 id="cargo_fix_compilation_options">Compilation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target</strong> <em>TRIPLE</em></dt>
|
||||
@ -264,7 +264,7 @@ supported targets.</p>
|
||||
<dt class="hdlist1"><strong>--release</strong></dt>
|
||||
<dd>
|
||||
<p>Fix artifacts in release mode, with optimizations. See the
|
||||
<a href="#_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
<a href="#cargo_fix_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
</dd>
|
||||
<dt class="hdlist1"><strong>--profile</strong> <em>NAME</em></dt>
|
||||
<dd>
|
||||
@ -278,7 +278,7 @@ the <code>cfg</code> attribute. This does not change the actual profile used.</p
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_output_options">Output Options</h3>
|
||||
<h3 id="cargo_fix_output_options">Output Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target-dir</strong> <em>DIRECTORY</em></dt>
|
||||
@ -292,7 +292,7 @@ to <code>target</code> in the root of the workspace.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_fix_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -351,7 +351,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_fix_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -376,7 +376,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_fix_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -393,7 +393,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<h3 id="cargo_fix_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-j</strong> <em>N</em></dt>
|
||||
@ -409,7 +409,7 @@ the number of CPUs.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_profiles">PROFILES</h2>
|
||||
<h2 id="cargo_fix_profiles">PROFILES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Profiles may be used to configure compiler options such as optimization levels
|
||||
@ -454,7 +454,7 @@ for more details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_fix_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -463,7 +463,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_fix_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -480,7 +480,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_fix_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -513,7 +513,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_fix_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-check.html">cargo-check(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_generate_lockfile_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-generate-lockfile - Generate the lockfile for a package</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_generate_lockfile_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo generate-lockfile [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_generate_lockfile_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This command will create the <code>Cargo.lock</code> lockfile for the current package or
|
||||
@ -25,10 +25,10 @@ lockfile and has more options for controlling update behavior.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_generate_lockfile_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_generate_lockfile_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -70,7 +70,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_generate_lockfile_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -95,7 +95,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_generate_lockfile_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -114,7 +114,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_generate_lockfile_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -123,7 +123,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_generate_lockfile_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -140,7 +140,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_generate_lockfile_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -157,7 +157,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_generate_lockfile_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-update.html">cargo-update(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_help_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-help - Get help for a Cargo command</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_help_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo help [<em>SUBCOMMAND</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_help_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Prints a help message for the given command.</p>
|
||||
@ -19,7 +19,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_help_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -44,7 +44,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_help_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_init_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-init - Create a new Cargo package in an existing directory</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_init_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo init [<em>OPTIONS</em>] [<em>PATH</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_init_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This command will create a new Cargo manifest in the current directory. Give a
|
||||
@ -95,10 +95,10 @@ a new directory.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_init_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_init_options">Init Options</h3>
|
||||
<h3 id="cargo_init_init_options">Init Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--bin</strong></dt>
|
||||
@ -139,7 +139,7 @@ the <code>-Z unstable-options</code> flag to enable.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_init_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -181,7 +181,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_init_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -200,7 +200,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_init_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -209,7 +209,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_init_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -226,7 +226,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_init_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -243,7 +243,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_init_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-new.html">cargo-new(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_install_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-install - Build and install a Rust binary</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_install_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo install [<em>OPTIONS</em>] <em>CRATE</em>…​</code><br>
|
||||
@ -14,7 +14,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_install_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This command manages Cargo’s local set of installed binary crates. Only packages
|
||||
@ -68,10 +68,10 @@ continuous integration systems.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_install_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_install_options">Install Options</h3>
|
||||
<h3 id="cargo_install_install_options">Install Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--vers</strong> <em>VERSION</em></dt>
|
||||
@ -141,7 +141,7 @@ the <code>-Z unstable-options</code> flag to enable.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_feature_selection">Feature Selection</h3>
|
||||
<h3 id="cargo_install_feature_selection">Feature Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no feature options are given, the <code>default</code> feature is activated for
|
||||
every selected package.</p>
|
||||
@ -167,7 +167,7 @@ package.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_compilation_options">Compilation Options</h3>
|
||||
<h3 id="cargo_install_compilation_options">Compilation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target</strong> <em>TRIPLE</em></dt>
|
||||
@ -219,7 +219,7 @@ supported targets.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<h3 id="cargo_install_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-j</strong> <em>N</em></dt>
|
||||
@ -233,7 +233,7 @@ the number of CPUs.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_install_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -275,7 +275,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_install_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -294,7 +294,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_install_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -303,7 +303,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_install_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -320,7 +320,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_install_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -345,7 +345,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_install_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-uninstall.html">cargo-uninstall(1)</a>, <a href="commands/cargo-search.html">cargo-search(1)</a>, <a href="commands/cargo-publish.html">cargo-publish(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_locate_project_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-locate-project - Print a JSON representation of a Cargo.toml file's location</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_locate_project_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo locate-project [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_locate_project_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This command will print a JSON object to stdout with the full path to the
|
||||
@ -24,10 +24,10 @@ workspace root.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_locate_project_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_locate_project_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -69,7 +69,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_locate_project_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -81,7 +81,7 @@ directory or any parent directory for the <code>Cargo.toml</code> file.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_locate_project_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -100,7 +100,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_locate_project_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -109,7 +109,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_locate_project_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -126,7 +126,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_locate_project_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -143,7 +143,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_locate_project_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-metadata.html">cargo-metadata(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_login_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-login - Save an API token from the registry locally</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_login_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo login [<em>OPTIONS</em>] [<em>TOKEN</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_login_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This command will save the API token to disk so that commands that require
|
||||
@ -31,10 +31,10 @@ defaults to <code>.cargo</code> in your home directory.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_login_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_login_options">Login Options</h3>
|
||||
<h3 id="cargo_login_login_options">Login Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--host</strong> <em>HOST</em></dt>
|
||||
@ -54,7 +54,7 @@ the <code>-Z unstable-options</code> flag to enable.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_login_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -96,7 +96,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_login_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -115,7 +115,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_login_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -124,7 +124,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_login_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -141,7 +141,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_login_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -158,7 +158,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_login_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-publish.html">cargo-publish(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_metadata_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-metadata - Machine-readable metadata about the current package</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_metadata_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo metadata [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_metadata_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Output the resolved dependencies of a package, the concrete used versions
|
||||
@ -28,7 +28,7 @@ for a Rust API for reading the metadata.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_output_format">OUTPUT FORMAT</h2>
|
||||
<h2 id="cargo_metadata_output_format">OUTPUT FORMAT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>The output has the following format:</p>
|
||||
@ -243,10 +243,10 @@ for a Rust API for reading the metadata.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_metadata_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_output_options">Output Options</h3>
|
||||
<h3 id="cargo_metadata_output_options">Output Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--no-deps</strong></dt>
|
||||
@ -263,7 +263,7 @@ possible value.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_feature_selection">Feature Selection</h3>
|
||||
<h3 id="cargo_metadata_feature_selection">Feature Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no feature options are given, the <code>default</code> feature is activated for
|
||||
every selected package.</p>
|
||||
@ -289,7 +289,7 @@ package.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_metadata_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -331,7 +331,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_metadata_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -356,7 +356,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_metadata_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -375,7 +375,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_metadata_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -384,7 +384,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_metadata_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -401,7 +401,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_metadata_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -418,7 +418,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_metadata_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_new_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-new - Create a new Cargo package</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_new_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo new [<em>OPTIONS</em>] <em>PATH</em></code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_new_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This command will create a new Cargo package in the given directory. This
|
||||
@ -88,10 +88,10 @@ in an existing directory.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_new_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_new_options">New Options</h3>
|
||||
<h3 id="cargo_new_new_options">New Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--bin</strong></dt>
|
||||
@ -132,7 +132,7 @@ the <code>-Z unstable-options</code> flag to enable.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_new_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -174,7 +174,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_new_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -193,7 +193,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_new_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -202,7 +202,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_new_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -219,7 +219,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_new_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -236,7 +236,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_new_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-init.html">cargo-init(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_owner_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-owner - Manage the owners of a crate on the registry</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_owner_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo owner [<em>OPTIONS</em>] --add <em>LOGIN</em> [<em>CRATE</em>]</code><br>
|
||||
@ -13,7 +13,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_owner_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This command will modify the owners for a crate on the registry. Owners of a
|
||||
@ -35,10 +35,10 @@ information about owners and publishing.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_owner_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_owner_options">Owner Options</h3>
|
||||
<h3 id="cargo_owner_owner_options">Owner Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-a</strong></dt>
|
||||
@ -76,7 +76,7 @@ the <code>-Z unstable-options</code> flag to enable.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_owner_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -118,7 +118,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_owner_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -137,7 +137,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_owner_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -146,7 +146,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_owner_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -163,7 +163,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_owner_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -196,7 +196,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_owner_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-login.html">cargo-login(1)</a>, <a href="commands/cargo-publish.html">cargo-publish(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_package_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-package - Assemble the local package into a distributable tarball</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_package_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo package [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_package_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This command will create a distributable, compressed <code>.crate</code> file with the
|
||||
@ -66,10 +66,10 @@ packaging and publishing.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_package_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_package_options">Package Options</h3>
|
||||
<h3 id="cargo_package_package_options">Package Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-l</strong></dt>
|
||||
@ -94,7 +94,7 @@ description or the license).</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_compilation_options">Compilation Options</h3>
|
||||
<h3 id="cargo_package_compilation_options">Compilation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target</strong> <em>TRIPLE</em></dt>
|
||||
@ -149,7 +149,7 @@ to <code>target</code> in the root of the workspace.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_package_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -174,7 +174,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<h3 id="cargo_package_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-j</strong> <em>N</em></dt>
|
||||
@ -188,7 +188,7 @@ the number of CPUs.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_package_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -230,7 +230,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_package_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -249,7 +249,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_package_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -258,7 +258,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_package_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -275,7 +275,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_package_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -292,7 +292,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_package_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-publish.html">cargo-publish(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_pkgid_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-pkgid - Print a fully qualified package specification</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_pkgid_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo pkgid [<em>OPTIONS</em>] [<em>SPEC</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_pkgid_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Given a <em>SPEC</em> argument, print out the fully qualified package ID specifier
|
||||
@ -72,10 +72,10 @@ following:</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_pkgid_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_package_selection">Package Selection</h3>
|
||||
<h3 id="cargo_pkgid_package_selection">Package Selection</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-p</strong> <em>SPEC</em></dt>
|
||||
@ -87,7 +87,7 @@ following:</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_pkgid_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -129,7 +129,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_pkgid_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -154,7 +154,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_pkgid_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -173,7 +173,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_pkgid_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -182,7 +182,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_pkgid_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -199,7 +199,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_pkgid_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -232,7 +232,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_pkgid_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-generate-lockfile.html">cargo-generate-lockfile(1)</a>, <a href="commands/cargo-metadata.html">cargo-metadata(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_publish_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-publish - Upload a package to the registry</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_publish_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo package [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_publish_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This command will create a distributable, compressed <code>.crate</code> file with the
|
||||
@ -55,10 +55,10 @@ packaging and publishing.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_publish_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_publish_options">Publish Options</h3>
|
||||
<h3 id="cargo_publish_publish_options">Publish Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--dry-run</strong></dt>
|
||||
@ -93,7 +93,7 @@ the <code>-Z unstable-options</code> flag to enable.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_compilation_options">Compilation Options</h3>
|
||||
<h3 id="cargo_publish_compilation_options">Compilation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target</strong> <em>TRIPLE</em></dt>
|
||||
@ -148,7 +148,7 @@ to <code>target</code> in the root of the workspace.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_publish_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -173,7 +173,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<h3 id="cargo_publish_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-j</strong> <em>N</em></dt>
|
||||
@ -187,7 +187,7 @@ the number of CPUs.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_publish_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -229,7 +229,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_publish_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -248,7 +248,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_publish_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -257,7 +257,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_publish_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -274,7 +274,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_publish_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -291,7 +291,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_publish_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-package.html">cargo-package(1)</a>, <a href="commands/cargo-login.html">cargo-login(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_run_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-run - Run the current package</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_run_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo run [<em>OPTIONS</em>] [-- <em>ARGS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_run_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Build the the main binary of the local package (<code>src/main.rs</code>) and run it.</p>
|
||||
@ -24,10 +24,10 @@ run. If you’re passing arguments to both Cargo and the binary, the ones af
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_run_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_package_selection">Package Selection</h3>
|
||||
<h3 id="cargo_run_package_selection">Package Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>By default, the package in the current working directory is selected. The <code>-p</code>
|
||||
flag can be used to choose a different package in a workspace.</p>
|
||||
@ -44,7 +44,7 @@ the SPEC format.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_target_selection">Target Selection</h3>
|
||||
<h3 id="cargo_run_target_selection">Target Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no target selection options are given, <code>cargo run</code> will run the binary
|
||||
target. If there are multiple binary targets, you must pass a target flag to
|
||||
@ -64,7 +64,7 @@ choose one.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_feature_selection">Feature Selection</h3>
|
||||
<h3 id="cargo_run_feature_selection">Feature Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no feature options are given, the <code>default</code> feature is activated for
|
||||
every selected package.</p>
|
||||
@ -90,7 +90,7 @@ package.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_compilation_options">Compilation Options</h3>
|
||||
<h3 id="cargo_run_compilation_options">Compilation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target</strong> <em>TRIPLE</em></dt>
|
||||
@ -137,13 +137,13 @@ supported targets.</p>
|
||||
<dt class="hdlist1"><strong>--release</strong></dt>
|
||||
<dd>
|
||||
<p>Run artifacts in release mode, with optimizations. See the
|
||||
<a href="#_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
<a href="#cargo_run_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_output_options">Output Options</h3>
|
||||
<h3 id="cargo_run_output_options">Output Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target-dir</strong> <em>DIRECTORY</em></dt>
|
||||
@ -157,7 +157,7 @@ to <code>target</code> in the root of the workspace.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_run_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -216,7 +216,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_run_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -241,7 +241,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_run_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -258,7 +258,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<h3 id="cargo_run_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-j</strong> <em>N</em></dt>
|
||||
@ -274,7 +274,7 @@ the number of CPUs.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_profiles">PROFILES</h2>
|
||||
<h2 id="cargo_run_profiles">PROFILES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Profiles may be used to configure compiler options such as optimization levels
|
||||
@ -319,7 +319,7 @@ for more details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_run_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -328,7 +328,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_run_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -345,7 +345,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_run_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -370,7 +370,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_run_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-build.html">cargo-build(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_rustc_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-rustc - Compile the current package, and pass extra options to the compiler</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_rustc_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo rustc [<em>OPTIONS</em>] [-- <em>ARGS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_rustc_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>The specified target for the current package (or package specified by <code>-p</code> if
|
||||
@ -37,10 +37,10 @@ environment variable or the <code>build.rustflags</code>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_rustc_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_package_selection">Package Selection</h3>
|
||||
<h3 id="cargo_rustc_package_selection">Package Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>By default, the package in the current working directory is selected. The <code>-p</code>
|
||||
flag can be used to choose a different package in a workspace.</p>
|
||||
@ -57,7 +57,7 @@ the SPEC format.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_target_selection">Target Selection</h3>
|
||||
<h3 id="cargo_rustc_target_selection">Target Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no target selection options are given, <code>cargo rustc</code> will build all
|
||||
binary and library targets of the selected package.</p>
|
||||
@ -120,7 +120,7 @@ settings.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_feature_selection">Feature Selection</h3>
|
||||
<h3 id="cargo_rustc_feature_selection">Feature Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no feature options are given, the <code>default</code> feature is activated for
|
||||
every selected package.</p>
|
||||
@ -146,7 +146,7 @@ package.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_compilation_options">Compilation Options</h3>
|
||||
<h3 id="cargo_rustc_compilation_options">Compilation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target</strong> <em>TRIPLE</em></dt>
|
||||
@ -193,13 +193,13 @@ supported targets.</p>
|
||||
<dt class="hdlist1"><strong>--release</strong></dt>
|
||||
<dd>
|
||||
<p>Build artifacts in release mode, with optimizations. See the
|
||||
<a href="#_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
<a href="#cargo_rustc_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_output_options">Output Options</h3>
|
||||
<h3 id="cargo_rustc_output_options">Output Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target-dir</strong> <em>DIRECTORY</em></dt>
|
||||
@ -213,7 +213,7 @@ to <code>target</code> in the root of the workspace.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_rustc_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -272,7 +272,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_rustc_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -297,7 +297,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_rustc_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -314,7 +314,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<h3 id="cargo_rustc_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-j</strong> <em>N</em></dt>
|
||||
@ -330,7 +330,7 @@ the number of CPUs.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_profiles">PROFILES</h2>
|
||||
<h2 id="cargo_rustc_profiles">PROFILES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Profiles may be used to configure compiler options such as optimization levels
|
||||
@ -375,7 +375,7 @@ for more details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_rustc_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -384,7 +384,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_rustc_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -401,7 +401,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_rustc_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -427,7 +427,7 @@ the size of every type:</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_rustc_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-build.html">cargo-build(1)</a>, <a href="https://doc.rust-lang.org/rustc/index.html">rustc(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_rustdoc_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-rustdoc - Build a package's documentation, using specified custom flags</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_rustdoc_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo rustdoc [<em>OPTIONS</em>] [-- <em>ARGS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_rustdoc_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>The specified target for the current package (or package specified by <code>-p</code> if
|
||||
@ -37,10 +37,10 @@ option.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_rustdoc_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_documentation_options">Documentation Options</h3>
|
||||
<h3 id="cargo_rustdoc_documentation_options">Documentation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--open</strong></dt>
|
||||
@ -51,7 +51,7 @@ option.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_package_selection">Package Selection</h3>
|
||||
<h3 id="cargo_rustdoc_package_selection">Package Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>By default, the package in the current working directory is selected. The <code>-p</code>
|
||||
flag can be used to choose a different package in a workspace.</p>
|
||||
@ -68,7 +68,7 @@ the SPEC format.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_target_selection">Target Selection</h3>
|
||||
<h3 id="cargo_rustdoc_target_selection">Target Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no target selection options are given, <code>cargo rustdoc</code> will document all
|
||||
binary and library targets of the selected package. The binary will be skipped
|
||||
@ -133,7 +133,7 @@ settings.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_feature_selection">Feature Selection</h3>
|
||||
<h3 id="cargo_rustdoc_feature_selection">Feature Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no feature options are given, the <code>default</code> feature is activated for
|
||||
every selected package.</p>
|
||||
@ -159,7 +159,7 @@ package.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_compilation_options">Compilation Options</h3>
|
||||
<h3 id="cargo_rustdoc_compilation_options">Compilation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target</strong> <em>TRIPLE</em></dt>
|
||||
@ -206,13 +206,13 @@ supported targets.</p>
|
||||
<dt class="hdlist1"><strong>--release</strong></dt>
|
||||
<dd>
|
||||
<p>Document artifacts in release mode, with optimizations. See the
|
||||
<a href="#_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
<a href="#cargo_rustdoc_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_output_options">Output Options</h3>
|
||||
<h3 id="cargo_rustdoc_output_options">Output Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target-dir</strong> <em>DIRECTORY</em></dt>
|
||||
@ -226,7 +226,7 @@ to <code>target</code> in the root of the workspace.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_rustdoc_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -285,7 +285,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_rustdoc_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -310,7 +310,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_rustdoc_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -327,7 +327,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<h3 id="cargo_rustdoc_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-j</strong> <em>N</em></dt>
|
||||
@ -343,7 +343,7 @@ the number of CPUs.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_profiles">PROFILES</h2>
|
||||
<h2 id="cargo_rustdoc_profiles">PROFILES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Profiles may be used to configure compiler options such as optimization levels
|
||||
@ -388,7 +388,7 @@ for more details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_rustdoc_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -397,7 +397,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_rustdoc_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -414,7 +414,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_rustdoc_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -431,7 +431,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_rustdoc_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-doc.html">cargo-doc(1)</a>, <a href="https://doc.rust-lang.org/rustdoc/index.html">rustdoc(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_search_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-search - Search packages in crates.io</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_search_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo search [<em>OPTIONS</em>] [<em>QUERY</em>…​]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_search_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This performs a textual search for crates on <a href="https://crates.io" class="bare">https://crates.io</a>. The matching
|
||||
@ -21,10 +21,10 @@ for copying into a <code>Cargo.toml</code> manifest.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_search_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_search_options">Search Options</h3>
|
||||
<h3 id="cargo_search_search_options">Search Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--limit</strong> <em>LIMIT</em></dt>
|
||||
@ -47,7 +47,7 @@ the <code>-Z unstable-options</code> flag to enable.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_search_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -89,7 +89,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_search_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -108,7 +108,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_search_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -117,7 +117,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_search_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -134,7 +134,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_search_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -151,7 +151,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_search_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-install.html">cargo-install(1)</a>, <a href="commands/cargo-publish.html">cargo-publish(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_test_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-test - Execute unit and integration tests of a package</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_test_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo test [<em>OPTIONS</em>] [TESTNAME] [-- <em>TEST-OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_test_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Compile and execute unit and integration tests.</p>
|
||||
@ -45,10 +45,10 @@ extracts code samples from documentation comments and executes them.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_test_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_test_options">Test Options</h3>
|
||||
<h3 id="cargo_test_test_options">Test Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--no-run</strong></dt>
|
||||
@ -66,7 +66,7 @@ the executable as a whole.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_package_selection">Package Selection</h3>
|
||||
<h3 id="cargo_test_package_selection">Package Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>By default, when no package selection options are given, the packages selected
|
||||
depend on the current working directory. In the root of a virtual workspace,
|
||||
@ -96,7 +96,7 @@ SPEC format. This flag may be specified multiple times.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_target_selection">Target Selection</h3>
|
||||
<h3 id="cargo_test_target_selection">Target Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no target selection options are given, <code>cargo test</code> will build the
|
||||
following targets of the selected packages:</p>
|
||||
@ -201,7 +201,7 @@ target options.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_feature_selection">Feature Selection</h3>
|
||||
<h3 id="cargo_test_feature_selection">Feature Selection</h3>
|
||||
<div class="paragraph">
|
||||
<p>When no feature options are given, the <code>default</code> feature is activated for
|
||||
every selected package.</p>
|
||||
@ -227,7 +227,7 @@ package.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_compilation_options">Compilation Options</h3>
|
||||
<h3 id="cargo_test_compilation_options">Compilation Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target</strong> <em>TRIPLE</em></dt>
|
||||
@ -274,13 +274,13 @@ supported targets.</p>
|
||||
<dt class="hdlist1"><strong>--release</strong></dt>
|
||||
<dd>
|
||||
<p>Test artifacts in release mode, with optimizations. See the
|
||||
<a href="#_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
<a href="#cargo_test_profiles">PROFILES</a> section for details on how this affects profile selection.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_output_options">Output Options</h3>
|
||||
<h3 id="cargo_test_output_options">Output Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--target-dir</strong> <em>DIRECTORY</em></dt>
|
||||
@ -294,7 +294,7 @@ to <code>target</code> in the root of the workspace.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_test_display_options">Display Options</h3>
|
||||
<div class="paragraph">
|
||||
<p>By default the Rust test harness hides output from test execution to keep
|
||||
results readable. Test output can be recovered (e.g. for debugging) by passing
|
||||
@ -363,7 +363,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_test_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -388,7 +388,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_test_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -405,7 +405,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<h3 id="cargo_test_miscellaneous_options">Miscellaneous Options</h3>
|
||||
<div class="paragraph">
|
||||
<p>The <code>--jobs</code> argument affects the building of the test executable but does not
|
||||
affect how many threads are used when running the tests. The Rust test harness
|
||||
@ -431,7 +431,7 @@ the number of CPUs.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_profiles">PROFILES</h2>
|
||||
<h2 id="cargo_test_profiles">PROFILES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Profiles may be used to configure compiler options such as optimization levels
|
||||
@ -485,7 +485,7 @@ or doctest.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_test_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -494,7 +494,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_test_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -511,7 +511,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_test_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -536,7 +536,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_test_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-bench.html">cargo-bench(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_uninstall_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-uninstall - Remove a Rust binary</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_uninstall_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo uninstall [<em>OPTIONS</em>] [<em>SPEC</em>…​]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_uninstall_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This command removes a package installed with <a href="commands/cargo-install.html">cargo-install(1)</a>. The <em>SPEC</em>
|
||||
@ -47,10 +47,10 @@ argument is a package ID specification of the package to remove (see
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_uninstall_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_install_options">Install Options</h3>
|
||||
<h3 id="cargo_uninstall_install_options">Install Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-p</strong></dt>
|
||||
@ -70,7 +70,7 @@ argument is a package ID specification of the package to remove (see
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_uninstall_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -112,7 +112,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_uninstall_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -131,7 +131,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_uninstall_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -140,7 +140,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_uninstall_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -157,7 +157,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_uninstall_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -174,7 +174,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_uninstall_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-install.html">cargo-install(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_update_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-update - Update dependencies as recorded in the local lock file</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_update_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo update [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_update_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This command will update dependencies in the <code>Cargo.lock</code> file to the latest
|
||||
@ -21,10 +21,10 @@ by commands such as <a href="commands/cargo-build.html">cargo-build(1)</a> or <a
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_update_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_update_options">Update Options</h3>
|
||||
<h3 id="cargo_update_update_options">Update Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-p</strong> <em>SPEC</em>…​</dt>
|
||||
@ -58,7 +58,7 @@ be a git revision (such as a SHA hash or tag).</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_update_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -100,7 +100,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_update_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -125,7 +125,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_update_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -144,7 +144,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_update_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -153,7 +153,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_update_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -170,7 +170,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_update_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -203,7 +203,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_update_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-generate-lockfile.html">cargo-generate-lockfile(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_verify_project_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-verify-project - Check correctness of crate manifest</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_verify_project_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo verify-project [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_verify_project_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>This command will parse the local manifest and check its validity. It emits a
|
||||
@ -33,10 +33,10 @@ JSON object with the result. A successful validation will display:</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_verify_project_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_verify_project_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -78,7 +78,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_manifest_options">Manifest Options</h3>
|
||||
<h3 id="cargo_verify_project_manifest_options">Manifest Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--manifest-path</strong> <em>PATH</em></dt>
|
||||
@ -103,7 +103,7 @@ access.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_verify_project_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -122,7 +122,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_verify_project_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -131,7 +131,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_verify_project_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -148,7 +148,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_verify_project_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -165,7 +165,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_verify_project_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-package.html">cargo-package(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_version_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-version - Show version information</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_version_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo version [<em>OPTIONS</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_version_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Displays the version of Cargo.</p>
|
||||
@ -19,7 +19,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_version_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -33,7 +33,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_version_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -67,7 +67,7 @@ cargo -V</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_version_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a></p>
|
@ -1,9 +1,9 @@
|
||||
<h2 id="_name">NAME</h2>
|
||||
<h2 id="cargo_yank_name">NAME</h2>
|
||||
<div class="sectionbody">
|
||||
<p>cargo-yank - Remove a pushed crate from the index</p>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_synopsis">SYNOPSIS</h2>
|
||||
<h2 id="cargo_yank_synopsis">SYNOPSIS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><code>cargo yank [<em>OPTIONS</em>] --vers <em>VERSION</em> [<em>CRATE</em>]</code></p>
|
||||
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_description">DESCRIPTION</h2>
|
||||
<h2 id="cargo_yank_description">DESCRIPTION</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>The yank command removes a previously published crate’s version from the
|
||||
@ -34,10 +34,10 @@ current directory.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_options">OPTIONS</h2>
|
||||
<h2 id="cargo_yank_options">OPTIONS</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="_owner_options">Owner Options</h3>
|
||||
<h3 id="cargo_yank_owner_options">Owner Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>--vers</strong> <em>VERSION</em></dt>
|
||||
@ -68,7 +68,7 @@ the <code>-Z unstable-options</code> flag to enable.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_display_options">Display Options</h3>
|
||||
<h3 id="cargo_yank_display_options">Display Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-v</strong></dt>
|
||||
@ -110,7 +110,7 @@ terminal.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_common_options">Common Options</h3>
|
||||
<h3 id="cargo_yank_common_options">Common Options</h3>
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
<dt class="hdlist1"><strong>-h</strong></dt>
|
||||
@ -129,7 +129,7 @@ details.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_environment">ENVIRONMENT</h2>
|
||||
<h2 id="cargo_yank_environment">ENVIRONMENT</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>See <a href="reference/environment-variables.html">the reference</a> for
|
||||
@ -138,7 +138,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_exit_status">Exit Status</h2>
|
||||
<h2 id="cargo_yank_exit_status">Exit Status</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="dlist">
|
||||
<dl>
|
||||
@ -155,7 +155,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_examples">EXAMPLES</h2>
|
||||
<h2 id="cargo_yank_examples">EXAMPLES</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
@ -172,7 +172,7 @@ details on environment variables that Cargo reads.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect1">
|
||||
<h2 id="_see_also">SEE ALSO</h2>
|
||||
<h2 id="cargo_yank_see_also">SEE ALSO</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p><a href="commands/index.html">cargo(1)</a>, <a href="commands/cargo-login.html">cargo-login(1)</a>, <a href="commands/cargo-publish.html">cargo-publish(1)</a></p>
|
@ -1,3 +1,3 @@
|
||||
# cargo bench
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-bench.html}}
|
||||
{{#include ../../man/generated/cargo-bench.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo build
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-build.html}}
|
||||
{{#include ../../man/generated/cargo-build.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo check
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-check.html}}
|
||||
{{#include ../../man/generated/cargo-check.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo clean
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-clean.html}}
|
||||
{{#include ../../man/generated/cargo-clean.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo doc
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-doc.html}}
|
||||
{{#include ../../man/generated/cargo-doc.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo fetch
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-fetch.html}}
|
||||
{{#include ../../man/generated/cargo-fetch.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo fix
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-fix.html}}
|
||||
{{#include ../../man/generated/cargo-fix.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo generate-lockfile
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-generate-lockfile.html}}
|
||||
{{#include ../../man/generated/cargo-generate-lockfile.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo help
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-help.html}}
|
||||
{{#include ../../man/generated/cargo-help.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo init
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-init.html}}
|
||||
{{#include ../../man/generated/cargo-init.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo install
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-install.html}}
|
||||
{{#include ../../man/generated/cargo-install.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo locate-project
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-locate-project.html}}
|
||||
{{#include ../../man/generated/cargo-locate-project.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo login
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-login.html}}
|
||||
{{#include ../../man/generated/cargo-login.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo metadata
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-metadata.html}}
|
||||
{{#include ../../man/generated/cargo-metadata.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo new
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-new.html}}
|
||||
{{#include ../../man/generated/cargo-new.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo owner
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-owner.html}}
|
||||
{{#include ../../man/generated/cargo-owner.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo package
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-package.html}}
|
||||
{{#include ../../man/generated/cargo-package.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo pkgid
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-pkgid.html}}
|
||||
{{#include ../../man/generated/cargo-pkgid.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo publish
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-publish.html}}
|
||||
{{#include ../../man/generated/cargo-publish.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo run
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-run.html}}
|
||||
{{#include ../../man/generated/cargo-run.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo rustc
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-rustc.html}}
|
||||
{{#include ../../man/generated/cargo-rustc.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo rustdoc
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-rustdoc.html}}
|
||||
{{#include ../../man/generated/cargo-rustdoc.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo search
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-search.html}}
|
||||
{{#include ../../man/generated/cargo-search.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo test
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-test.html}}
|
||||
{{#include ../../man/generated/cargo-test.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo uninstall
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-uninstall.html}}
|
||||
{{#include ../../man/generated/cargo-uninstall.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo update
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-update.html}}
|
||||
{{#include ../../man/generated/cargo-update.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo verify-project
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-verify-project.html}}
|
||||
{{#include ../../man/generated/cargo-verify-project.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo version
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-version.html}}
|
||||
{{#include ../../man/generated/cargo-version.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo yank
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo-yank.html}}
|
||||
{{#include ../../man/generated/cargo-yank.html}}
|
||||
|
@ -1,3 +1,3 @@
|
||||
# cargo
|
||||
{{#include command-common.html}}
|
||||
{{#include generated/cargo.html}}
|
||||
{{#include ../../man/generated/cargo.html}}
|
||||
|
@ -2,12 +2,12 @@
|
||||
.\" Title: cargo-bench
|
||||
.\" Author: [see the "AUTHOR(S)" section]
|
||||
.\" Generator: Asciidoctor 1.5.8
|
||||
.\" Date: 2018-12-08
|
||||
.\" Date: 2018-12-18
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "CARGO\-BENCH" "1" "2018-12-08" "\ \&" "\ \&"
|
||||
.TH "CARGO\-BENCH" "1" "2018-12-18" "\ \&" "\ \&"
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.ss \n[.ss] 0
|
||||
|
@ -2,12 +2,12 @@
|
||||
.\" Title: cargo-build
|
||||
.\" Author: [see the "AUTHOR(S)" section]
|
||||
.\" Generator: Asciidoctor 1.5.8
|
||||
.\" Date: 2018-12-08
|
||||
.\" Date: 2018-12-18
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "CARGO\-BUILD" "1" "2018-12-08" "\ \&" "\ \&"
|
||||
.TH "CARGO\-BUILD" "1" "2018-12-18" "\ \&" "\ \&"
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.ss \n[.ss] 0
|
||||
|
@ -2,12 +2,12 @@
|
||||
.\" Title: cargo-check
|
||||
.\" Author: [see the "AUTHOR(S)" section]
|
||||
.\" Generator: Asciidoctor 1.5.8
|
||||
.\" Date: 2018-12-08
|
||||
.\" Date: 2018-12-18
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "CARGO\-CHECK" "1" "2018-12-08" "\ \&" "\ \&"
|
||||
.TH "CARGO\-CHECK" "1" "2018-12-18" "\ \&" "\ \&"
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.ss \n[.ss] 0
|
||||
|
@ -2,12 +2,12 @@
|
||||
.\" Title: cargo-clean
|
||||
.\" Author: [see the "AUTHOR(S)" section]
|
||||
.\" Generator: Asciidoctor 1.5.8
|
||||
.\" Date: 2018-12-08
|
||||
.\" Date: 2018-12-18
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "CARGO\-CLEAN" "1" "2018-12-08" "\ \&" "\ \&"
|
||||
.TH "CARGO\-CLEAN" "1" "2018-12-18" "\ \&" "\ \&"
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.ss \n[.ss] 0
|
||||
|
@ -2,12 +2,12 @@
|
||||
.\" Title: cargo-doc
|
||||
.\" Author: [see the "AUTHOR(S)" section]
|
||||
.\" Generator: Asciidoctor 1.5.8
|
||||
.\" Date: 2018-12-08
|
||||
.\" Date: 2018-12-18
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "CARGO\-DOC" "1" "2018-12-08" "\ \&" "\ \&"
|
||||
.TH "CARGO\-DOC" "1" "2018-12-18" "\ \&" "\ \&"
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.ss \n[.ss] 0
|
||||
|
@ -2,12 +2,12 @@
|
||||
.\" Title: cargo-fetch
|
||||
.\" Author: [see the "AUTHOR(S)" section]
|
||||
.\" Generator: Asciidoctor 1.5.8
|
||||
.\" Date: 2018-12-08
|
||||
.\" Date: 2018-12-18
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "CARGO\-FETCH" "1" "2018-12-08" "\ \&" "\ \&"
|
||||
.TH "CARGO\-FETCH" "1" "2018-12-18" "\ \&" "\ \&"
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.ss \n[.ss] 0
|
||||
|
@ -2,12 +2,12 @@
|
||||
.\" Title: cargo-fix
|
||||
.\" Author: [see the "AUTHOR(S)" section]
|
||||
.\" Generator: Asciidoctor 1.5.8
|
||||
.\" Date: 2018-12-08
|
||||
.\" Date: 2018-12-18
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "CARGO\-FIX" "1" "2018-12-08" "\ \&" "\ \&"
|
||||
.TH "CARGO\-FIX" "1" "2018-12-18" "\ \&" "\ \&"
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.ss \n[.ss] 0
|
||||
|
@ -2,12 +2,12 @@
|
||||
.\" Title: cargo-generate-lockfile
|
||||
.\" Author: [see the "AUTHOR(S)" section]
|
||||
.\" Generator: Asciidoctor 1.5.8
|
||||
.\" Date: 2018-12-08
|
||||
.\" Date: 2018-12-18
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "CARGO\-GENERATE\-LOCKFILE" "1" "2018-12-08" "\ \&" "\ \&"
|
||||
.TH "CARGO\-GENERATE\-LOCKFILE" "1" "2018-12-18" "\ \&" "\ \&"
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.ss \n[.ss] 0
|
||||
|
@ -2,12 +2,12 @@
|
||||
.\" Title: cargo-help
|
||||
.\" Author: [see the "AUTHOR(S)" section]
|
||||
.\" Generator: Asciidoctor 1.5.8
|
||||
.\" Date: 2018-12-08
|
||||
.\" Date: 2018-12-18
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "CARGO\-HELP" "1" "2018-12-08" "\ \&" "\ \&"
|
||||
.TH "CARGO\-HELP" "1" "2018-12-18" "\ \&" "\ \&"
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.ss \n[.ss] 0
|
||||
|
@ -2,12 +2,12 @@
|
||||
.\" Title: cargo-init
|
||||
.\" Author: [see the "AUTHOR(S)" section]
|
||||
.\" Generator: Asciidoctor 1.5.8
|
||||
.\" Date: 2018-12-08
|
||||
.\" Date: 2018-12-18
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "CARGO\-INIT" "1" "2018-12-08" "\ \&" "\ \&"
|
||||
.TH "CARGO\-INIT" "1" "2018-12-18" "\ \&" "\ \&"
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.ss \n[.ss] 0
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user