Skip to content

Commit 8ad2196

Browse files
committed
Auto merge of #8158 - tofay:doc-cargo-metadata-messages, r=ehuss
Mention that cargo_metadata can parse json messages Prompted by #8142, this updates the documentation to mention that cargo_metadata can parse the external JSON messages emitted when the `--message-format=json` option is set.
2 parents 80cf934 + 2f04635 commit 8ad2196

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/doc/src/reference/external-tools.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ alter the way the JSON messages are computed and rendered. See the description
4848
of the `--message-format` option in the [build command documentation] for more
4949
details.
5050

51+
If you are using Rust, the [cargo_metadata] crate can be used to parse these
52+
messages.
53+
5154
[build command documentation]: ../commands/cargo-build.md
55+
[cargo_metadata]: https://crates.io/crates/cargo_metadata
5256

5357
#### Compiler messages
5458

0 commit comments

Comments
 (0)