From 3105b7d9c99e681aed49c7db9504ddff47300244 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 20 May 2019 07:57:11 -0700 Subject: [PATCH] Document new `doctest` field. --- src/doc/man/cargo-metadata.adoc | 6 +++++- src/doc/man/generated/cargo-metadata.html | 6 +++++- src/etc/man/cargo-metadata.1 | 10 +++++++--- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/doc/man/cargo-metadata.adoc b/src/doc/man/cargo-metadata.adoc index 760c8d4a9a9..cffad736831 100644 --- a/src/doc/man/cargo-metadata.adoc +++ b/src/doc/man/cargo-metadata.adoc @@ -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. diff --git a/src/doc/man/generated/cargo-metadata.html b/src/doc/man/generated/cargo-metadata.html index 821b7405886..25665e31977 100644 --- a/src/doc/man/generated/cargo-metadata.html +++ b/src/doc/man/generated/cargo-metadata.html @@ -137,7 +137,11 @@

OUTPUT 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. diff --git a/src/etc/man/cargo-metadata.1 b/src/etc/man/cargo-metadata.1 index 95a46d79c70..46ab466584b 100644 --- a/src/etc/man/cargo-metadata.1 +++ b/src/etc/man/cargo-metadata.1 @@ -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 @@ -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.