Skip to content

Commit 3105b7d

Browse files
committed
Document new doctest field.
1 parent 5a0c31d commit 3105b7d

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

src/doc/man/cargo-metadata.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,11 @@ The output has the following format:
130130
/* Array of required features.
131131
This property is not included if no required features are set.
132132
*/
133-
"required-features": ["feat1"]
133+
"required-features": ["feat1"],
134+
/* Whether or not this target has doc tests enabled, and
135+
the target is compatible with doc testing.
136+
*/
137+
"doctest": false
134138
}
135139
],
136140
/* Set of features defined for the package.

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,11 @@ <h2 id="cargo_metadata_output_format">OUTPUT FORMAT</h2>
137137
/* Array of required features.
138138
This property is not included if no required features are set.
139139
*/
140-
"required-features": ["feat1"]
140+
"required-features": ["feat1"],
141+
/* Whether or not this target has doc tests enabled, and
142+
the target is compatible with doc testing.
143+
*/
144+
"doctest": false
141145
}
142146
],
143147
/* Set of features defined for the package.

src/etc/man/cargo-metadata.1

Lines changed: 7 additions & 3 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 1.5.8
5-
.\" Date: 2019-05-08
5+
.\" Date: 2019-05-20
66
.\" Manual: \ \&
77
.\" Source: \ \&
88
.\" Language: English
99
.\"
10-
.TH "CARGO\-METADATA" "1" "2019-05-08" "\ \&" "\ \&"
10+
.TH "CARGO\-METADATA" "1" "2019-05-20" "\ \&" "\ \&"
1111
.ie \n(.g .ds Aq \(aq
1212
.el .ds Aq '
1313
.ss \n[.ss] 0
@@ -151,7 +151,11 @@ The output has the following format:
151151
/* Array of required features.
152152
This property is not included if no required features are set.
153153
*/
154-
"required\-features": ["feat1"]
154+
"required\-features": ["feat1"],
155+
/* Whether or not this target has doc tests enabled, and
156+
the target is compatible with doc testing.
157+
*/
158+
"doctest": false
155159
}
156160
],
157161
/* Set of features defined for the package.

0 commit comments

Comments
 (0)