Skip to content

Commit f236c35

Browse files
committed
Auto merge of #8451 - ehuss:metadata-man, r=Eh2406
Update metadata man page. The man pages needed to be rebuilt after #8323.
2 parents fede83c + dec7872 commit f236c35

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

src/doc/man/generated/cargo-metadata.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,15 @@ <h2 id="cargo_metadata_output_format">OUTPUT FORMAT</h2>
275275
"version": 1,
276276
/* The absolute path to the root of the workspace. */
277277
"workspace_root": "/path/to/my-package"
278+
/* Workspace metadata.
279+
This is null if no metadata is specified. */
280+
"metadata": {
281+
"docs": {
282+
"rs": {
283+
"all-features": true
284+
}
285+
}
286+
}
278287
}</code></pre>
279288
</div>
280289
</div>

src/etc/man/cargo-metadata.1

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
.\" Title: cargo-metadata
33
.\" Author: [see the "AUTHOR(S)" section]
44
.\" Generator: Asciidoctor 2.0.10
5-
.\" Date: 2020-02-24
5+
.\" Date: 2020-07-04
66
.\" Manual: \ \&
77
.\" Source: \ \&
88
.\" Language: English
99
.\"
10-
.TH "CARGO\-METADATA" "1" "2020-02-24" "\ \&" "\ \&"
10+
.TH "CARGO\-METADATA" "1" "2020-07-04" "\ \&" "\ \&"
1111
.ie \n(.g .ds Aq \(aq
1212
.el .ds Aq '
1313
.ss \n[.ss] 0
@@ -289,6 +289,15 @@ The output has the following format:
289289
"version": 1,
290290
/* The absolute path to the root of the workspace. */
291291
"workspace_root": "/path/to/my\-package"
292+
/* Workspace metadata.
293+
This is null if no metadata is specified. */
294+
"metadata": {
295+
"docs": {
296+
"rs": {
297+
"all\-features": true
298+
}
299+
}
300+
}
292301
}
293302
.fi
294303
.if n .RE

0 commit comments

Comments
 (0)