From cfbeb8db820e12888089f774756015ea2de9145a Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Fri, 31 Mar 2023 07:00:04 -0700 Subject: [PATCH] Sync external-tools JSON docs. --- src/doc/src/reference/external-tools.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/doc/src/reference/external-tools.md b/src/doc/src/reference/external-tools.md index 58f4787d188..7b5110cbe1e 100644 --- a/src/doc/src/reference/external-tools.md +++ b/src/doc/src/reference/external-tools.md @@ -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. @@ -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 },