Skip to content

Commit

Permalink
Document new doctest field.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed May 20, 2019
1 parent 5a0c31d commit 3105b7d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
6 changes: 5 additions & 1 deletion src/doc/man/cargo-metadata.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,11 @@ The output has the following format:
/* Array of required features.
This property is not included if no required features are set.
*/
"required-features": ["feat1"]
"required-features": ["feat1"],
/* Whether or not this target has doc tests enabled, and
the target is compatible with doc testing.
*/
"doctest": false
}
],
/* Set of features defined for the package.
Expand Down
6 changes: 5 additions & 1 deletion src/doc/man/generated/cargo-metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,11 @@ <h2 id="cargo_metadata_output_format">OUTPUT FORMAT</h2>
/* Array of required features.
This property is not included if no required features are set.
*/
"required-features": ["feat1"]
"required-features": ["feat1"],
/* Whether or not this target has doc tests enabled, and
the target is compatible with doc testing.
*/
"doctest": false
}
],
/* Set of features defined for the package.
Expand Down
10 changes: 7 additions & 3 deletions src/etc/man/cargo-metadata.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: cargo-metadata
.\" Author: [see the "AUTHOR(S)" section]
.\" Generator: Asciidoctor 1.5.8
.\" Date: 2019-05-08
.\" Date: 2019-05-20
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "CARGO\-METADATA" "1" "2019-05-08" "\ \&" "\ \&"
.TH "CARGO\-METADATA" "1" "2019-05-20" "\ \&" "\ \&"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
Expand Down Expand Up @@ -151,7 +151,11 @@ The output has the following format:
/* Array of required features.
This property is not included if no required features are set.
*/
"required\-features": ["feat1"]
"required\-features": ["feat1"],
/* Whether or not this target has doc tests enabled, and
the target is compatible with doc testing.
*/
"doctest": false
}
],
/* Set of features defined for the package.
Expand Down

0 comments on commit 3105b7d

Please sign in to comment.