This repository has been archived by the owner on Aug 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
chore(deps): update rust crate strum to 0.26 - autoclosed #184
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
from
June 25, 2023 00:54
453fcd7
to
01fb841
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
3 times, most recently
from
July 8, 2023 14:41
9635833
to
1656197
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
from
July 17, 2023 02:20
1656197
to
e2b1dbb
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
2 times, most recently
from
August 13, 2023 00:36
098339e
to
ef20bd8
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
3 times, most recently
from
September 3, 2023 00:11
91b85df
to
ccce7c8
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
5 times, most recently
from
September 16, 2023 15:53
390a64f
to
bb7e677
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
from
September 17, 2023 00:27
bb7e677
to
1f4872d
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
5 times, most recently
from
September 23, 2023 15:13
9a0ccd1
to
a86a244
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
from
October 10, 2023 04:55
a86a244
to
bd1c951
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
from
November 11, 2023 16:10
bd1c951
to
071347d
Compare
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: Cargo.lock
|
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
2 times, most recently
from
December 10, 2023 03:27
1652572
to
30aa300
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
from
January 28, 2024 03:42
30aa300
to
bce54ea
Compare
renovate
bot
changed the title
chore(deps): update rust crate strum to 0.25
chore(deps): update rust crate strum to 0.26
Jan 28, 2024
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
3 times, most recently
from
March 7, 2024 12:32
ae18751
to
0d8c49e
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
2 times, most recently
from
April 13, 2024 14:06
da9e645
to
2ddcc01
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
2 times, most recently
from
May 1, 2024 09:27
63d96da
to
e1b2807
Compare
renovate
bot
changed the title
chore(deps): update rust crate strum to 0.26
chore(deps): update rust crate strum to 0.26.2
May 1, 2024
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
7 times, most recently
from
May 5, 2024 09:34
6ffdf5f
to
0cefd93
Compare
renovate
bot
changed the title
chore(deps): update rust crate strum to 0.26.2
chore(deps): update rust crate strum to v0.26.2
May 5, 2024
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
from
May 5, 2024 17:13
0cefd93
to
0259a9e
Compare
renovate
bot
changed the title
chore(deps): update rust crate strum to v0.26.2
chore(deps): update rust crate strum to 0.26
May 5, 2024
|
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
4 times, most recently
from
May 16, 2024 05:07
c2be919
to
d6e1d1b
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
from
May 18, 2024 17:39
d6e1d1b
to
15ed5a8
Compare
renovate
bot
force-pushed
the
renovate/strum-0.x
branch
from
May 18, 2024 22:42
15ed5a8
to
584e7a0
Compare
renovate
bot
changed the title
chore(deps): update rust crate strum to 0.26
chore(deps): update rust crate strum to 0.26 - autoclosed
May 21, 2024
auto-merge was automatically disabled
May 21, 2024 16:58
Pull request was closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
0 participants
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:
0.24
->0.26
Release Notes
Peternator7/strum (strum)
v0.26.2
Compare Source
EnumTryAs
AsRefStr
. Technically a breaking change,but
prefix
was just added in0.26.0
so it's a newer feature and it makes the feature more consisent in general.v0.26.1
core
instead ofstd
in VariantArray.v0.26.0
Breaking Changes
EnumVariantNames
macro has been renamedVariantNames
. The deprecation warning should steer you inthe right direction for fixing the warning.
added the implementation in your code.
Display
now supports format strings using named fields in the enum variant. This should be a no-op for most code.However, if you were outputting a string like
"Hello {field}"
, this will now be interpretted as a format string.closer to a mirror of the original and that's always the goal.
New features
The
VariantArray
macro has been added. This macro adds an associated constantVARIANTS
to your enum. The constantis a
&'static [Self]
slice so that you can access all the variants of your enum. This only works on enums that onlyhave unit variants.
The
EnumTable
macro has been experimentally added. This macro adds a new type that stores an item for each variantof the enum. This is useful for storing a value for each variant of an enum. This is an experimental feature because
I'm not convinced the current api surface area is correct.
Display
has 2 new features:the
strum(prefix = "some_value")
attribute on an enum now allows you to prepend a string onto everyvariant when you serialize it.
Custom
to_string
andserialize
attributes now support string interopolation on serialization.PR's Merged
std::fmt::Debug
VariantArray
EnumTable
macro to generate a mapping between fieldless variants and data.v0.25.0
Breaking Changes
#261 Upgrade syn dependency to version 2. This bumps the msrv to
1.56. It's impractical to maintain a package where a core dependency of the ecosystem has a different msrv than this one.
270 Change the
to_string
behavior when usingdefault
. Now, whenusing
default
, thedisplay
method will return the display version of the value contained in the enum rather thanthe name of the variant.
If you want the old behavior, you can use the
to_string
attribute to override this behavior. See the PR for an example.268 Update the behavior of
EnumCount
to exclude variants that aredisabled
. This is a breaking change, but the behavior makes it more consistent with other methods.New Features
#257 This PR adds the
EnumIs
macro that automatically implementsis_{variant_name}
methods for each variant.Configuration
📅 Schedule: Branch creation - "after 9pm every weekend,before 12am every weekend" in timezone Asia/Tokyo, 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.
This PR has been generated by Mend Renovate. View repository job log here.