build(deps): Bump env_logger from 0.10.2 to 0.11.2 in /rust (#3904)

Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.10.2
to 0.11.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-cli/env_logger/releases">env_logger's
releases</a>.</em></p>
<blockquote>
<h2>v0.11.2</h2>
<h2>[0.11.2] - 2024-02-13</h2>
<h2>v0.11.1</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(fmt): Fix passing of WriteStyle when using Target::Pipe by <a
href="https://github.com/Bobo1239"><code>@​Bobo1239</code></a> in <a
href="https://redirect.github.com/rust-cli/env_logger/pull/302">rust-cli/env_logger#302</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Bobo1239"><code>@​Bobo1239</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-cli/env_logger/pull/302">rust-cli/env_logger#302</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rust-cli/env_logger/compare/v0.11.0...v0.11.1">https://github.com/rust-cli/env_logger/compare/v0.11.0...v0.11.1</a></p>
<h2>v0.11.0</h2>
<h2>What's Changed</h2>
<ul>
<li>refactor(fmt): More anstream prep by <a
href="https://github.com/epage"><code>@​epage</code></a> in <a
href="https://redirect.github.com/rust-cli/env_logger/pull/297">rust-cli/env_logger#297</a></li>
<li>fix(fmt): Improve terminal styling support by <a
href="https://github.com/epage"><code>@​epage</code></a> in <a
href="https://redirect.github.com/rust-cli/env_logger/pull/298">rust-cli/env_logger#298</a></li>
<li>refactor: Split out env_filter package by <a
href="https://github.com/epage"><code>@​epage</code></a> in <a
href="https://redirect.github.com/rust-cli/env_logger/pull/299">rust-cli/env_logger#299</a></li>
<li>feat(filter): Add a Logger decorator by <a
href="https://github.com/epage"><code>@​epage</code></a> in <a
href="https://redirect.github.com/rust-cli/env_logger/pull/300">rust-cli/env_logger#300</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rust-cli/env_logger/compare/v0.10.2...v0.11.0">https://github.com/rust-cli/env_logger/compare/v0.10.2...v0.11.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md">env_logger's
changelog</a>.</em></p>
<blockquote>
<h2>[0.11.2] - 2024-02-13</h2>
<h2>[0.11.1] - 2024-01-27</h2>
<h3>Fixes</h3>
<ul>
<li>Allow styling with <code>Target::Pipe</code></li>
</ul>
<h2>[0.11.0] - 2024-01-19</h2>
<h3>Migration Guide</h3>
<p><strong>env_logger::fmt::Style:</strong>
The bespoke styling API, behind <code>color</code>, was removed, in
favor of accepting any
ANSI styled string and adapting it to the target stream's
capabilities.</p>
<p>Possible styling libraries include:</p>
<ul>
<li><a href="https://docs.rs/anstyle">anstyle</a> is a minimal, runtime
string styling API and is re-exported as
<code>env_logger::fmt::style</code></li>
<li><a href="https://docs.rs/owo-colors">owo-colors</a> is a feature
rich runtime string styling API</li>
<li><a href="https://docs.rs/color-print">color-print</a> for
feature-rich compile-time styling API</li>
</ul>
<p><a
href="https://docs.rs/env_logger/latest/src/custom_format/custom_format.rs.html">custom_format.rs</a>
uses <code>anstyle</code> via
<a
href="https://docs.rs/env_logger/latest/env_logger/fmt/struct.Formatter.html#method.default_level_style"><code>Formatter::default_level_style</code></a></p>
<h3>Breaking Change</h3>
<ul>
<li>Removed bespoke styling API
<ul>
<li><code>env_logger::fmt::Formatter::style</code></li>
<li><code>env_logger::fmt::Formatter::default_styled_level</code></li>
<li><code>env_logger::fmt::Style</code></li>
<li><code>env_logger::fmt::Color</code></li>
<li><code>env_logger::fmt::StyledValue</code></li>
</ul>
</li>
<li>Removed <code>env_logger::filter</code> in favor of
<code>env_filter</code></li>
</ul>
<h3>Compatibility</h3>
<p>MSRV changed to 1.71</p>
<h3>Features</h3>
<ul>
<li>Automatically adapt ANSI escape codes in logged messages to the
current terminal's capabilities</li>
<li>Add support for <code>NO_COLOR</code> and
<code>CLICOLOR_FORCE</code>, see <a
href="https://bixense.com/clicolors/">https://bixense.com/clicolors/</a></li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Print colors when <code>is_test(true)</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b0e3ea9384"><code>b0e3ea9</code></a>
chore: Release</li>
<li><a
href="522ce17fff"><code>522ce17</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-cli/env_logger/issues/310">#310</a>
from epage/docs</li>
<li><a
href="c67579cc5f"><code>c67579c</code></a>
docs(fmt): Talk about new styling API</li>
<li><a
href="62713d1688"><code>62713d1</code></a>
refactor(docs): Use intra-doc links</li>
<li><a
href="1b0f4dd9a0"><code>1b0f4dd</code></a>
docs(fmt): Point people to anstyle adapters</li>
<li><a
href="8bf7499956"><code>8bf7499</code></a>
refactor(fmt): Use simplified anstyle formatting</li>
<li><a
href="5e0566ec4e"><code>5e0566e</code></a>
chore: Update anstyle</li>
<li><a
href="6562f9abeb"><code>6562f9a</code></a>
docs(changelog): Add migration guide</li>
<li><a
href="8c94cd5969"><code>8c94cd5</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-cli/env_logger/issues/308">#308</a>
from epage/rustbuild</li>
<li><a
href="2f636ed9c0"><code>2f636ed</code></a>
chore: Remove potentially unused rustbuild cfgs</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-cli/env_logger/compare/v0.10.2...v0.11.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=env_logger&package-manager=cargo&previous-version=0.10.2&new-version=0.11.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
This commit is contained in:
dependabot[bot]
2024-03-05 03:51:51 +00:00
committed by GitHub
parent fd78e711f0
commit 42042bb842
2 changed files with 17 additions and 27 deletions

42
rust/Cargo.lock generated
View File

@@ -1671,16 +1671,26 @@ dependencies = [
]
[[package]]
name = "env_logger"
version = "0.10.2"
name = "env_filter"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580"
checksum = "a009aa4810eb158359dda09d0c87378e4bbb89b5a801f016885a4707ba24f7ea"
dependencies = [
"humantime",
"is-terminal",
"log",
"regex",
"termcolor",
]
[[package]]
name = "env_logger"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c012a26a7f605efc424dd53697843a72be7dc86ad2d01f7814337794a12231d"
dependencies = [
"anstream",
"anstyle",
"env_filter",
"humantime",
"log",
]
[[package]]
@@ -3097,17 +3107,6 @@ version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3"
[[package]]
name = "is-terminal"
version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b"
dependencies = [
"hermit-abi",
"libc",
"windows-sys 0.52.0",
]
[[package]]
name = "itertools"
version = "0.10.5"
@@ -6273,15 +6272,6 @@ dependencies = [
"utf-8",
]
[[package]]
name = "termcolor"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
dependencies = [
"winapi-util",
]
[[package]]
name = "test-strategy"
version = "0.3.1"

View File

@@ -22,7 +22,7 @@ tracing-opentelemetry = "0.21.0"
opentelemetry = { version = "0.20.0", features = ["rt-tokio", "metrics"] }
opentelemetry_api = "0.20.0"
opentelemetry-otlp = { version = "0.13.0", features = ["metrics"]}
env_logger = "0.10.2"
env_logger = "0.11.2"
tracing-core = "0.1.31"
bytes = "1.4.0"
sha2 = "0.10.8"