{{#option “--message-format fmt” }} The output format for diagnostic messages. Can be specified multiple times and consists of comma-separated values. Valid values:
human (default): Display in a human-readable text format.short: Emit shorter, human-readable text messages.json: Emit JSON messages to stdout. See the reference for more details.json-diagnostic-short: Ensure the rendered field of JSON messages contains the “short” rendering from rustc.json-diagnostic-rendered-ansi: Ensure the rendered field of JSON messages contains embedded ANSI color codes for respecting rustc's default color scheme.json-render-diagnostics: Instruct Cargo to not include rustc diagnostics in in JSON messages printed, but instead Cargo itself should render the JSON diagnostics coming from rustc. Cargo's own JSON diagnostics and others coming from rustc are still emitted. {{/option}}