mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
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:
commit
8ad21969c1
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user