]> git.proxmox.com Git - cargo.git/commitdiff
Add documentation for JSON message_path.
authorEric Huss <eric@huss.org>
Mon, 8 Mar 2021 16:23:17 +0000 (08:23 -0800)
committerEric Huss <eric@huss.org>
Mon, 8 Mar 2021 16:23:17 +0000 (08:23 -0800)
src/doc/src/reference/external-tools.md

index 70030a7f3a4e3887cd93fa757029d7ad9d4bad23..58f4787d18886f10dc08fdb9ee66fa9c9c049943 100644 (file)
@@ -67,6 +67,8 @@ structure:
     "reason": "compiler-message",
     /* The Package ID, a unique identifier for referring to the package. */
     "package_id": "my-package 0.1.0 (path+file:///path/to/my-package)",
+    /* Absolute path to the package manifest. */
+    "manifest_path": "/path/to/my-package/Cargo.toml",
     /* The Cargo target (lib, bin, example, etc.) that generated the message. */
     "target": {
         /* Array of target kinds.
@@ -129,6 +131,8 @@ following structure:
     "reason": "compiler-artifact",
     /* The Package ID, a unique identifier for referring to the package. */
     "package_id": "my-package 0.1.0 (path+file:///path/to/my-package)",
+    /* Absolute path to the package manifest. */
+    "manifest_path": "/path/to/my-package/Cargo.toml",
     /* The Cargo target (lib, bin, example, etc.) that generated the artifacts.
        See the definition above for `compiler-message` for details.
     */