Skip to content

Commit b6244bf

Browse files
committed
docs(changelog): also mention --message-format=json
1 parent 0ca60e9 commit b6244bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@
4848
This behavior has been considered a bug from the beginning.
4949
[#13775](https://github.com/rust-lang/cargo/pull/13775)
5050
- ❗️ Replace dashes with underscores also if `lib.name` is inferred from `package.name`.
51-
This change aligns to the documented behavior. One caveat is that
52-
`cargo metadata` starts reporting underscore lib names.
51+
This change aligns to the documented behavior. One caveat is that JSON messages
52+
emitted by Cargo, like via `cargo metadata` or `--message-format=json`,
53+
will start reporting underscore lib names.
5354
[#12783](https://github.com/rust-lang/cargo/pull/12783)
5455
- Switch to `gitoxide` for listing files. This improves the performance of
5556
build script and `cargo doc` for computing cache freshness,

0 commit comments

Comments
 (0)