mdbook/crates
Eric Huss 23724b0a6b Fix color for rustdoc error messages
Due to a change in tracing-subscriber where it escapes ANSI codes, the
output from rustdoc was changed to be escaped instead of colored. This
fixes the issue by just printing to the console directly.

This does not have a test because it is difficult to emulate a terminal
in the testsuite, and I don't feel like adding color overrides at the
moment.

Ref:
- https://github.com/rust-lang/mdBook/pull/2829 -- Switched to tracing
- https://github.com/advisories/GHSA-xwfj-jgwm-7wp5 -- CVE-2025-58160
- https://github.com/tokio-rs/tracing/issues/3378 -- Discussion of
  supporting color codes.

Eventually mdbook's primary output should migrate away from using log
messages, and instead use a structured console system. However, that's a
ways off.
2025-12-10 14:01:50 -08:00
..
mdbook-compare mdbook-compare: fix duplicate "diff" print 2025-10-29 19:45:22 -07:00
mdbook-core Update to 0.5.1 2025-11-19 17:36:49 -08:00
mdbook-driver Fix color for rustdoc error messages 2025-12-10 14:01:50 -08:00
mdbook-html Update to 0.5.1 2025-11-19 17:36:49 -08:00
mdbook-markdown Update to 0.5.1 2025-11-19 17:36:49 -08:00
mdbook-preprocessor Update to 0.5.1 2025-11-19 17:36:49 -08:00
mdbook-renderer Update to 0.5.1 2025-11-19 17:36:49 -08:00
mdbook-summary Update to 0.5.1 2025-11-19 17:36:49 -08:00
xtask Fix incorrect string formatting in xtask error message 2025-10-15 06:57:39 -07:00