Skip to content

Commit

Permalink
Auto merge of #11918 - ehuss:sync-target-json, r=epage
Browse files Browse the repository at this point in the history
Sync external-tools JSON docs.

A few fields were missing from the external-tools JSON documentation.
  • Loading branch information
bors committed Mar 31, 2023
2 parents 8205389 + cfbeb8d commit 4a60ff7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/doc/src/reference/external-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,15 @@ structure:
This property is not included if no required features are set.
*/
"required-features": ["feat1"],
/* Whether the target should be documented by `cargo doc`. */
"doc": true,
/* Whether or not this target has doc tests enabled, and
the target is compatible with doc testing.
*/
"doctest": true
/* Whether or not this target should be built and run with `--test`
*/
"test": true
},
/* The message emitted by the compiler.
Expand Down Expand Up @@ -146,6 +151,7 @@ following structure:
"name": "my-package",
"src_path": "/path/to/my-package/src/lib.rs",
"edition": "2018",
"doc": true,
"doctest": true,
"test": true
},
Expand Down

0 comments on commit 4a60ff7

Please sign in to comment.