fix(deps): update rust crate env_logger to 0.11.3
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
env_logger | dependencies | minor |
0.10.1 -> 0.11.3
|
Release Notes
rust-cli/env_logger (env_logger)
v0.11.3
Features
- Experimental support for key-value logging behind
unstable-kv
v0.11.2
v0.11.1
Fixes
- Allow styling with
Target::Pipe
v0.11.0
Migration Guide
env_logger::fmt::Style:
The bespoke styling API, behind color
, was removed, in favor of accepting any
ANSI styled string and adapting it to the target stream's capabilities.
Possible styling libraries include:
-
anstyle is a minimal, runtime string styling API and is re-exported as
env_logger::fmt::style
- owo-colors is a feature rich runtime string styling API
- color-print for feature-rich compile-time styling API
custom_format.rs
uses anstyle
via
Formatter::default_level_style
Breaking Change
- Removed bespoke styling API
env_logger::fmt::Formatter::style
env_logger::fmt::Formatter::default_styled_level
env_logger::fmt::Style
env_logger::fmt::Color
env_logger::fmt::StyledValue
- Removed
env_logger::filter
in favor ofenv_filter
Compatibility
MSRV changed to 1.71
Features
- Automatically adapt ANSI escape codes in logged messages to the current terminal's capabilities
- Add support for
NO_COLOR
andCLICOLOR_FORCE
, see https://bixense.com/clicolors/
Fixes
- Print colors when
is_test(true)
v0.10.2
Performance
- Avoid extra UTF-8 validation performed in some cases
Fixes
- Ensure custom pipes/stdout get flushed
- Don't panic on broken pipes when
color
is disabled
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.