Skip to content

Commit

Permalink
Auto merge of #8158 - tofay:doc-cargo-metadata-messages, r=ehuss
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Apr 25, 2020
2 parents 80cf934 + 2f04635 commit 8ad2196
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/doc/src/reference/external-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ alter the way the JSON messages are computed and rendered. See the description
of the `--message-format` option in the [build command documentation] for more
details.

If you are using Rust, the [cargo_metadata] crate can be used to parse these
messages.

[build command documentation]: ../commands/cargo-build.md
[cargo_metadata]: https://crates.io/crates/cargo_metadata

#### Compiler messages

Expand Down

0 comments on commit 8ad2196

Please sign in to comment.