Skip to content

Commit 5d9f554

Browse files
committed
docs: include new public flag in metadata schema
1 parent 6a4f355 commit 5d9f554

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/doc/man/cargo-metadata.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,12 @@ The JSON output has the following format:
123123
If not specified or null, the dependency is from the default
124124
registry (crates.io).
125125
*/
126-
"registry": null
126+
"registry": null,
127+
/* (unstable) Boolean flag of whether or not this is a pulbic
128+
dependency. This field is only present when
129+
`-Zpublic-dependency` is enabled.
130+
*/
131+
"public": false
127132
}
128133
],
129134
/* Array of Cargo targets. */

0 commit comments

Comments
 (0)