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 8a26050 commit e3ec992
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
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
7 changes: 6 additions & 1 deletion src/doc/man/generated_txt/cargo-metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
7 changes: 6 additions & 1 deletion src/doc/src/commands/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
7 changes: 6 additions & 1 deletion src/etc/man/cargo-metadata.1
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit e3ec992

Please sign in to comment.