File tree Expand file tree Collapse file tree 4 files changed +16
-13
lines changed Expand file tree Collapse file tree 4 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ pub fn cli() -> App {
2121 )
2222 . arg ( opt (
2323 "no-deps" ,
24- "Output information only about the root package \
24+ "Output information only about the workspace members \
2525 and don't fetch dependencies",
2626 ) )
2727 . arg_manifest_path ( )
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ cargo-metadata - Machine-readable metadata about the current package
1313
1414== DESCRIPTION
1515
16- Output the resolved dependencies of a package, the concrete used versions
17- including overrides, in JSON to stdout .
16+ Output JSON to stdout containing information about the workspace members and
17+ resolved dependencies of the current package .
1818
1919It is recommended to include the `--format-version` flag to future-proof
2020your code to ensure the output is in the format you are expecting.
@@ -199,8 +199,9 @@ The output has the following format:
199199 "workspace_members": [
200200 "my-package 0.1.0 (path+file:///path/to/my-package)",
201201 ],
202- // The resolved dependency graph, with the concrete versions and features
203- // selected. The set depends on the enabled features.
202+ // The resolved dependency graph for the entire workspace. The enabled
203+ // features are based on the enabled features for the "current" package.
204+ // Inactivated optional dependencies are not listed.
204205 //
205206 // This is null if --no-deps is specified.
206207 //
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ <h2 id="cargo_metadata_synopsis">SYNOPSIS</h2>
1414< h2 id ="cargo_metadata_description "> DESCRIPTION</ h2 >
1515< div class ="sectionbody ">
1616< div class ="paragraph ">
17- < p > Output the resolved dependencies of a package, the concrete used versions
18- including overrides, in JSON to stdout .</ p >
17+ < p > Output JSON to stdout containing information about the workspace members and
18+ resolved dependencies of the current package .</ p >
1919</ div >
2020< div class ="paragraph ">
2121< p > It is recommended to include the < code > --format-version</ code > flag to future-proof
@@ -206,8 +206,9 @@ <h2 id="cargo_metadata_output_format">OUTPUT FORMAT</h2>
206206 "workspace_members": [
207207 "my-package 0.1.0 (path+file:///path/to/my-package)",
208208 ],
209- // The resolved dependency graph, with the concrete versions and features
210- // selected. The set depends on the enabled features.
209+ // The resolved dependency graph for the entire workspace. The enabled
210+ // features are based on the enabled features for the "current" package.
211+ // Inactivated optional dependencies are not listed.
211212 //
212213 // This is null if --no-deps is specified.
213214 //
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ cargo\-metadata \- Machine\-readable metadata about the current package
3434\fB cargo metadata [ \fI OPTIONS \fP ]\fP
3535.SH "DESCRIPTION"
3636.sp
37- Output the resolved dependencies of a package, the concrete used versions
38- including overrides, in JSON to stdout .
37+ Output JSON to stdout containing information about the workspace members and
38+ resolved dependencies of the current package .
3939.sp
4040It is recommended to include the \fB \-\- format \- version \fP flag to future\- proof
4141your code to ensure the output is in the format you are expecting.
@@ -220,8 +220,9 @@ The output has the following format:
220220 "workspace_members": [
221221 "my\- package 0.1.0 (path+file:///path/to/my\- package)",
222222 ],
223- // The resolved dependency graph, with the concrete versions and features
224- // selected. The set depends on the enabled features.
223+ // The resolved dependency graph for the entire workspace. The enabled
224+ // features are based on the enabled features for the "current" package.
225+ // Inactivated optional dependencies are not listed.
225226 //
226227 // This is null if \-\- no\- deps is specified.
227228 //
You can’t perform that action at this time.
0 commit comments