Skip to content

Commit

Permalink
build(deps): bump colored from 2.1.0 to 3.0.0 (#79)
Browse files Browse the repository at this point in the history
Bumps [colored](https://github.com/mackwic/colored) from 2.1.0 to 3.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mackwic/colored/releases">colored's
releases</a>.</em></p>
<blockquote>
<h2>v3.0.0</h2>
<ul>
<li><strong>[BREAKING CHANGE]:</strong> Upgrade MSRV to 1.80 and remove
the then unnecessary lazy_static dependency.</li>
</ul>
<h2>v2.2.0</h2>
<p>No release notes provided.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/colored-rs/colored/blob/master/CHANGELOG.md">colored's
changelog</a>.</em></p>
<blockquote>
<h1>3.0.0</h1>
<ul>
<li><strong>[BREAKING CHANGE]:</strong> Upgrade MSRV to 1.80 and remove
the then unnecessary lazy_static dependency.</li>
</ul>
<h1>2.2.0</h1>
<ul>
<li>Updated top-level docs to include a note about
<code>ColoredString</code>'s role in the <code>Colorize</code> pipeline
as well as link to it to suggest learning more about how to manipulate
existing <code>ColoredString</code>'s.</li>
<li>Changes to <code>ColoredString</code>:
<ul>
<li>Expose fields.</li>
<li><strong>[DEPRECATION]:</strong> Deprecated methods
<code>fgcolor</code>, <code>bgcolor</code>, and <code>style</code> due
to their obsolescence in the face of the exposing of their represented
fields.</li>
<li>Add methods for clearing specific elements of <code>fgcolor</code>,
<code>bgcolor</code>, and <code>style</code>.</li>
<li>Change Default implementation to be via derive as Style now
implements Default (see changes to Style below).</li>
<li>Add implementation of <code>DerefMut</code>.</li>
<li>Updated docs to reflect the above changes as well as generally
greatly expand them.</li>
</ul>
</li>
<li>Changes to <code>Style</code>:
<ul>
<li>Implemented <code>Default</code> for <code>Style</code> (returns
<code>CLEAR</code>). This exposes a method by which users can create
plain <code>Style</code>'s from scratch.</li>
<li>Implemented <code>From&lt;Styles&gt;</code> for <code>Style</code>.
This lets users easily create <code>Style</code>'s from specific
styles.</li>
<li>Exposed previously private method <code>add</code>.</li>
<li>Created method <code>remove</code> which essentially does the
opposite.</li>
<li>Added builder-style methods in the vein of <code>Colorize</code> to
add stylings (e.g. <code>bold</code>, <code>underline</code>,
<code>italic</code>, <code>strikethrough</code>).</li>
<li>Implemented bitwise operators <code>BitAnd</code>,
<code>BitOr</code>, <code>BitXor</code>, and <code>Not</code> as well as
their representative assignment operators. You can also use a
<code>Styles</code> as an operand for these.</li>
<li>Implemented <code>FromIterator&lt;Styles&gt;</code> for Style.</li>
</ul>
</li>
<li>Changes to <code>Styles</code>:
<ul>
<li>Implemented bitwise operators <code>BitAnd</code>,
<code>BitOr</code>, <code>BitXor</code>, and <code>Not</code> which all
combine <code>Styles</code>'s and output <code>Style</code>'s. These can
also take a <code>Style</code> as an operand.</li>
</ul>
</li>
<li>Added additional testing for all of the above changes.</li>
<li>Added methods <code>with_style</code> and
<code>with_color_and_style</code> to <code>Colorize</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/colored-rs/colored/commit/95b2de80ba35b6d2be2f876a746d27da58a73945"><code>95b2de8</code></a>
Remove unnecessary lazy_static dependency (<a
href="https://redirect.github.com/mackwic/colored/issues/176">#176</a>)</li>
<li><a
href="https://github.com/colored-rs/colored/commit/037e091ff1e66b3160d18cc65ff35554da15fb0a"><code>037e091</code></a>
Fix missing <code>2.2.0</code> release in changelog</li>
<li><a
href="https://github.com/colored-rs/colored/commit/ef1484c713e1340d842cc7b76f79dc976afe891f"><code>ef1484c</code></a>
2.2.0 (<a
href="https://redirect.github.com/mackwic/colored/issues/186">#186</a>)</li>
<li><a
href="https://github.com/colored-rs/colored/commit/1bb63e43816fba027bd223c1a3f1c4ae18739f02"><code>1bb63e4</code></a>
cargo: supported range for windows-sys (<a
href="https://redirect.github.com/mackwic/colored/issues/184">#184</a>)</li>
<li><a
href="https://github.com/colored-rs/colored/commit/a7e464f7c961c8d79cdad2d4bb3bbfca24c2653c"><code>a7e464f</code></a>
Add dependabot config (<a
href="https://redirect.github.com/mackwic/colored/issues/178">#178</a>)</li>
<li><a
href="https://github.com/colored-rs/colored/commit/0ddacef14dced008ee4387c9669e612544e183be"><code>0ddacef</code></a>
Ignore blame for clippy fix</li>
<li><a
href="https://github.com/colored-rs/colored/commit/05b0f57859c98b055550a4dfc0898e3df7b6e503"><code>05b0f57</code></a>
Differentiate between ansi_term style and colored style due to
deprecation of...</li>
<li><a
href="https://github.com/colored-rs/colored/commit/981cfe4ae7d1a3ce2f8058e6182c496a7296bc2a"><code>981cfe4</code></a>
Fix deprecation warnings</li>
<li><a
href="https://github.com/colored-rs/colored/commit/58a06a44c7640a83a65df6c5afae5ed8f0014fd0"><code>58a06a4</code></a>
Apply some (pedantic) clippy lints</li>
<li><a
href="https://github.com/colored-rs/colored/commit/e55e26c30b8b66adf65f63ff7769b30c7cefd7e8"><code>e55e26c</code></a>
Update rspec (<a
href="https://redirect.github.com/mackwic/colored/issues/177">#177</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mackwic/colored/compare/v2.1.0...v3.0.0">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=colored&package-manager=cargo&previous-version=2.1.0&new-version=3.0.0)](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>
  • Loading branch information
sjoerdsimons authored Feb 12, 2025
2 parents c0cae6d + 37c45e9 commit f525d13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://gitlab.collabora.com/lava/lava-gitlab-runner.git"
[dependencies]
bytes = "1.9.0"
chrono = { version = "0.4.20", features = ["serde"] }
colored = "2"
colored = "3"
gitlab-runner = "0.1.0"
lava-api = "0.1.2"
lazy_static = "1.5"
Expand Down

0 comments on commit f525d13

Please sign in to comment.