diff --git a/src/doc/man/cargo-metadata.md b/src/doc/man/cargo-metadata.md index 0205a61e8657..431725c352eb 100644 --- a/src/doc/man/cargo-metadata.md +++ b/src/doc/man/cargo-metadata.md @@ -123,7 +123,12 @@ The JSON output has the following format: If not specified or null, the dependency is from the default registry (crates.io). */ - "registry": null + "registry": null, + /* (unstable) Boolean flag of whether or not this is a pulbic + dependency. This field is only present when + `-Zpublic-dependency` is enabled. + */ + "public": false } ], /* Array of Cargo targets. */ diff --git a/src/doc/man/generated_txt/cargo-metadata.txt b/src/doc/man/generated_txt/cargo-metadata.txt index 939826531f62..0fb8b8ad820e 100644 --- a/src/doc/man/generated_txt/cargo-metadata.txt +++ b/src/doc/man/generated_txt/cargo-metadata.txt @@ -119,7 +119,12 @@ OUTPUT FORMAT If not specified or null, the dependency is from the default registry (crates.io). */ - "registry": null + "registry": null, + /* (unstable) Boolean flag of whether or not this is a pulbic + dependency. This field is only present when + `-Zpublic-dependency` is enabled. + */ + "public": false } ], /* Array of Cargo targets. */ diff --git a/src/doc/src/commands/cargo-metadata.md b/src/doc/src/commands/cargo-metadata.md index d788235cbfbf..52068e223c54 100644 --- a/src/doc/src/commands/cargo-metadata.md +++ b/src/doc/src/commands/cargo-metadata.md @@ -123,7 +123,12 @@ The JSON output has the following format: If not specified or null, the dependency is from the default registry (crates.io). */ - "registry": null + "registry": null, + /* (unstable) Boolean flag of whether or not this is a pulbic + dependency. This field is only present when + `-Zpublic-dependency` is enabled. + */ + "public": false } ], /* Array of Cargo targets. */ diff --git a/src/etc/man/cargo-metadata.1 b/src/etc/man/cargo-metadata.1 index 059b66d45da3..eb0e274d19ef 100644 --- a/src/etc/man/cargo-metadata.1 +++ b/src/etc/man/cargo-metadata.1 @@ -125,7 +125,12 @@ The JSON output has the following format: If not specified or null, the dependency is from the default registry (crates.io). */ - "registry": null + "registry": null, + /* (unstable) Boolean flag of whether or not this is a pulbic + dependency. This field is only present when + `\-Zpublic\-dependency` is enabled. + */ + "public": false } ], /* Array of Cargo targets. */