File tree 4 files changed +16
-13
lines changed
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 {
21
21
)
22
22
. arg ( opt (
23
23
"no-deps" ,
24
- "Output information only about the root package \
24
+ "Output information only about the workspace members \
25
25
and don't fetch dependencies",
26
26
) )
27
27
. 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
13
13
14
14
== DESCRIPTION
15
15
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 .
18
18
19
19
It is recommended to include the `--format-version` flag to future-proof
20
20
your code to ensure the output is in the format you are expecting.
@@ -199,8 +199,9 @@ The output has the following format:
199
199
"workspace_members": [
200
200
"my-package 0.1.0 (path+file:///path/to/my-package)",
201
201
],
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.
204
205
//
205
206
// This is null if --no-deps is specified.
206
207
//
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ <h2 id="cargo_metadata_synopsis">SYNOPSIS</h2>
14
14
< h2 id ="cargo_metadata_description "> DESCRIPTION</ h2 >
15
15
< div class ="sectionbody ">
16
16
< 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 >
19
19
</ div >
20
20
< div class ="paragraph ">
21
21
< 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>
206
206
"workspace_members": [
207
207
"my-package 0.1.0 (path+file:///path/to/my-package)",
208
208
],
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.
211
212
//
212
213
// This is null if --no-deps is specified.
213
214
//
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ cargo\-metadata \- Machine\-readable metadata about the current package
34
34
\fB cargo metadata [ \fI OPTIONS \fP ]\fP
35
35
.SH "DESCRIPTION"
36
36
.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 .
39
39
.sp
40
40
It is recommended to include the \fB \-\- format \- version \fP flag to future\- proof
41
41
your code to ensure the output is in the format you are expecting.
@@ -220,8 +220,9 @@ The output has the following format:
220
220
"workspace_members": [
221
221
"my\- package 0.1.0 (path+file:///path/to/my\- package)",
222
222
],
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.
225
226
//
226
227
// This is null if \-\- no\- deps is specified.
227
228
//
You can’t perform that action at this time.
0 commit comments