Skip to content

chore(deps): update rust crate colored to v3#433

Closed
renovate[bot] wants to merge 1 commit into
devfrom
renovate/colored-3.x
Closed

chore(deps): update rust crate colored to v3#433
renovate[bot] wants to merge 1 commit into
devfrom
renovate/colored-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jan 29, 2025

This PR contains the following updates:

Package Type Update Change
colored dependencies major 2.1 -> 3.0

Release Notes

mackwic/colored (colored)

v3.0.0

Compare Source

  • [BREAKING CHANGE]: Upgrade MSRV to 1.80 and remove the then unnecessary lazy_static dependency.

v2.2.0

Compare Source

  • Updated top-level docs to include a note about ColoredString's role in the Colorize pipeline as well as link to it to suggest learning more about how to manipulate existing ColoredString's.
  • Changes to ColoredString:
    • Expose fields.
    • [DEPRECATION]: Deprecated methods fgcolor, bgcolor, and style due to their obsolescence in the face of the exposing of their represented fields.
    • Add methods for clearing specific elements of fgcolor, bgcolor, and style.
    • Change Default implementation to be via derive as Style now implements Default (see changes to Style below).
    • Add implementation of DerefMut.
    • Updated docs to reflect the above changes as well as generally greatly expand them.
  • Changes to Style:
    • Implemented Default for Style (returns CLEAR). This exposes a method by which users can create plain Style's from scratch.
    • Implemented From<Styles> for Style. This lets users easily create Style's from specific styles.
    • Exposed previously private method add.
    • Created method remove which essentially does the opposite.
    • Added builder-style methods in the vein of Colorize to add stylings (e.g. bold, underline, italic, strikethrough).
    • Implemented bitwise operators BitAnd, BitOr, BitXor, and Not as well as their representative assignment operators. You can also use a Styles as an operand for these.
    • Implemented FromIterator<Styles> for Style.
  • Changes to Styles:
    • Implemented bitwise operators BitAnd, BitOr, BitXor, and Not which all combine Styles's and output Style's. These can also take a Style as an operand.
  • Added additional testing for all of the above changes.
  • Added methods with_style and with_color_and_style to Colorize.

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 is behind base branch, 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.

@github-actions
Copy link
Copy Markdown
Contributor

Package Changes Through b6a4ef0

No changes.

Add a change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@FabianLars
Copy link
Copy Markdown
Member

that msrv is a bit too high for us atm

@FabianLars FabianLars closed this Jan 29, 2025
@FabianLars FabianLars deleted the renovate/colored-3.x branch January 29, 2025 11:58
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Jan 29, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant