]> git.proxmox.com Git - cargo.git/commitdiff
Tweak/fix metadata resolve docs.
authorEric Huss <eric@huss.org>
Tue, 29 Oct 2019 00:23:36 +0000 (17:23 -0700)
committerEric Huss <eric@huss.org>
Tue, 29 Oct 2019 00:23:36 +0000 (17:23 -0700)
Due to how markdown works there can't be blank lines in the embedded HTML.

src/doc/man/cargo-metadata.adoc
src/doc/man/generated/cargo-metadata.html
src/etc/man/cargo-metadata.1

index de46465ca328ac381f8c36926f00e17ec3a5a8cb..cb5bfb579c721205eba519d10acf085491e080c3 100644 (file)
@@ -199,17 +199,14 @@ The output has the following format:
     "workspace_members": [
         "my-package 0.1.0 (path+file:///path/to/my-package)",
     ],
-    /* The resolved dependency graph, with the concrete versions and features
-       selected. The set depends on the enabled features.
-
-       All platform-specific dependencies are listed regardless of the current
-       target.
-
-       This is null if --no-deps is specified.
-       By default, this includes all dependencies for all target platforms.
-       The `--filter-platform` flag may be used to narrow to a specific
-       target triple.
-    */
+    // The resolved dependency graph, with the concrete versions and features
+    // selected. The set depends on the enabled features.
+    //
+    // This is null if --no-deps is specified.
+    //
+    // By default, this includes all dependencies for all target platforms.
+    // The `--filter-platform` flag may be used to narrow to a specific
+    // target triple.
     "resolve": {
         /* Array of nodes within the dependency graph.
            Each node is a package.
index 7d1aaf3749dbc033441665a71259d4f6f059b2d4..bc86b2674925b0269fafed60447f36ca33d44ca7 100644 (file)
@@ -206,17 +206,14 @@ for a Rust API for reading the metadata.</p>
     "workspace_members": [
         "my-package 0.1.0 (path+file:///path/to/my-package)",
     ],
-    /* The resolved dependency graph, with the concrete versions and features
-       selected. The set depends on the enabled features.
-
-       All platform-specific dependencies are listed regardless of the current
-       target.
-
-       This is null if --no-deps is specified.
-       By default, this includes all dependencies for all target platforms.
-       The `--filter-platform` flag may be used to narrow to a specific
-       target triple.
-    */
+    // The resolved dependency graph, with the concrete versions and features
+    // selected. The set depends on the enabled features.
+    //
+    // This is null if --no-deps is specified.
+    //
+    // By default, this includes all dependencies for all target platforms.
+    // The `--filter-platform` flag may be used to narrow to a specific
+    // target triple.
     "resolve": {
         /* Array of nodes within the dependency graph.
            Each node is a package.
@@ -491,4 +488,4 @@ details on environment variables that Cargo reads.</p>
 <p><a href="index.html">cargo(1)</a></p>
 </div>
 </div>
-</div>
+</div>
\ No newline at end of file
index e0be10c8f4c23bd27cc299e73fe9425fe56e6121..7589c86a2f50369aba02446d564d1f9435f6608f 100644 (file)
@@ -220,17 +220,14 @@ The output has the following format:
     "workspace_members": [
         "my\-package 0.1.0 (path+file:///path/to/my\-package)",
     ],
-    /* The resolved dependency graph, with the concrete versions and features
-       selected. The set depends on the enabled features.
-
-       All platform\-specific dependencies are listed regardless of the current
-       target.
-
-       This is null if \-\-no\-deps is specified.
-       By default, this includes all dependencies for all target platforms.
-       The `\-\-filter\-platform` flag may be used to narrow to a specific
-       target triple.
-    */
+    // The resolved dependency graph, with the concrete versions and features
+    // selected. The set depends on the enabled features.
+    //
+    // This is null if \-\-no\-deps is specified.
+    //
+    // By default, this includes all dependencies for all target platforms.
+    // The `\-\-filter\-platform` flag may be used to narrow to a specific
+    // target triple.
     "resolve": {
         /* Array of nodes within the dependency graph.
            Each node is a package.