From b6244bf2aa43add9b2c18310d2502801046fb27c Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Wed, 8 May 2024 00:03:35 -0400 Subject: [PATCH] docs(changelog): also mention `--message-format=json` --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a94f71f62..23956ebd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,8 +48,9 @@ This behavior has been considered a bug from the beginning. [#13775](https://github.com/rust-lang/cargo/pull/13775) - ❗️ Replace dashes with underscores also if `lib.name` is inferred from `package.name`. - This change aligns to the documented behavior. One caveat is that - `cargo metadata` starts reporting underscore lib names. + This change aligns to the documented behavior. One caveat is that JSON messages + emitted by Cargo, like via `cargo metadata` or `--message-format=json`, + will start reporting underscore lib names. [#12783](https://github.com/rust-lang/cargo/pull/12783) - Switch to `gitoxide` for listing files. This improves the performance of build script and `cargo doc` for computing cache freshness,