fix(deps): update rust crate env_logger to 0.11
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| env_logger | dependencies | minor | 0.9 -> 0.11 |
Release Notes
rust-cli/env_logger (env_logger)
v0.11.8
Compatibility
-
(kv) Deprecate the
unstable-kvfeature which may be removed in a future patch release
Features
-
(kv) Stabilize key-value support behind the
kvfeature - Expose
ConfigurableFormatto build custom [Builder::format]s that leverage this
v0.11.7
Internal
- Replaced
humantimewithjiff
v0.11.6
Features
- Opt-in file and line rendering
v0.11.5
v0.11.4
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::filterin 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_COLORandCLICOLOR_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
coloris disabled
v0.10.1
Performance
- Avoid hashing directives and accessing RNG on startup
Documentation
- Tweak
RUST_LOGdocumentation
v0.10.0
MSRV changed to 1.60 to hide optional dependencies
Fixes
- Resolved soundness issue by switching from
attytois-terminal
Breaking Changes
To open room for changing dependencies:
- Renamed
termcolorfeature tocolor - Renamed
attyfeature toauto-color
v0.9.3
- Fix a regression from v0.9.2 where env_logger would fail to compile with the termcolor feature turned off.
v0.9.2
- Fix a regression from v0.9.2 where env_logger would fail to compile with the termcolor feature turned off.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.