Auto merge of #8158 - tofay:doc-cargo-metadata-messages, r=ehuss

Mention that cargo_metadata can parse json messages

Prompted by https://github.com/rust-lang/cargo/issues/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.
This commit is contained in:
bors 2020-04-25 23:13:31 +00:00
commit 8ad21969c1

View File

@ -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