Update Rust crate strum_macros to 0.28.0 #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate-strum_macros-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.27.2→0.28.0Release Notes
Peternator7/strum (strum_macros)
v0.28.0Compare Source
#461: Allow any kind of passthrough attributes on
EnumDiscriminants.#[strum_discriminants(derive(...))]) were supported. Now path-only(e.g.
#[strum_discriminants(non_exhaustive)]) and name/value (e.g.#[strum_discriminants(doc = "foo")])attributes are also supported.
#462: Add missing
#[automatically_derived]to generated impls notcovered by #444.
#466: Bump MSRV to 1.71, required to keep up with updated
synandwindows-sysdependencies. This is a breaking change if you're on an old version of rust.#469: Use absolute paths in generated proc macro code to avoid
potential name conflicts.
#465: Upgrade
phfdependency to v0.13.#473: Fix
cargo fmt/clippyissues and add GitHub Actions CI.#477:
strum::ParseErrornow implementscore::fmt::Displayinsteadstd::fmt::Displayto make it#[no_std]compatible. Note theErrortrait wasn't available in core until1.81so
strum::ParseErrorstill only implements that in std.#476: Breaking Change -
EnumStringnow implementsFrom<&str>(infallible) instead of
TryFrom<&str>when the enum has a#[strum(default)]variant. This more accuratelyreflects that parsing cannot fail in that case. If you need the old
TryFrombehavior, you can opt back in usingparse_error_tyandparse_error_fn:#431: Fix bug where
EnumStringignored theparse_err_tyattribute when the enum had a
#[strum(default)]variant.#474: EnumDiscriminants will now copy
defaultover from theoriginal enum to the Discriminant enum.
Configuration
📅 Schedule: (UTC)
🚦 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 Renovate Bot.
406f2c50e8to2b72d1c6442b72d1c644to4ce64a61efView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.