Skip to content

Commit

Permalink
docs: include new public flag in metadata schema
Browse files Browse the repository at this point in the history
  • Loading branch information
eopb committed Sep 6, 2024
1 parent 6a4f355 commit 5d9f554
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/doc/man/cargo-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 5d9f554

Please sign in to comment.