chore(deps): update rust crate colored to v3 (1.x) #12307
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0
->3.0
Release Notes
mackwic/colored (colored)
v3.0.0
Compare Source
v2.2.0
Compare Source
ColoredString
's role in theColorize
pipeline as well as link to it to suggest learning more about how to manipulate existingColoredString
's.ColoredString
:fgcolor
,bgcolor
, andstyle
due to their obsolescence in the face of the exposing of their represented fields.fgcolor
,bgcolor
, andstyle
.DerefMut
.Style
:Default
forStyle
(returnsCLEAR
). This exposes a method by which users can create plainStyle
's from scratch.From<Styles>
forStyle
. This lets users easily createStyle
's from specific styles.add
.remove
which essentially does the opposite.Colorize
to add stylings (e.g.bold
,underline
,italic
,strikethrough
).BitAnd
,BitOr
,BitXor
, andNot
as well as their representative assignment operators. You can also use aStyles
as an operand for these.FromIterator<Styles>
for Style.Styles
:BitAnd
,BitOr
,BitXor
, andNot
which all combineStyles
's and outputStyle
's. These can also take aStyle
as an operand.with_style
andwith_color_and_style
toColorize
.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.
This PR was generated by Mend Renovate. View the repository job log.