From 5d9f554aada95e94076291fc6a4513d1c19df360 Mon Sep 17 00:00:00 2001 From: Ethan Brierley Date: Fri, 6 Sep 2024 19:18:41 +0100 Subject: [PATCH] docs: include new `public` flag in metadata schema --- src/doc/man/cargo-metadata.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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. */