You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#461: Allow any kind of passthrough attributes on EnumDiscriminants.
Previously only list-style attributes (e.g. #[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 not
covered by #444.
#466: Bump MSRV to 1.71, required to keep up with updated syn and windows-sys dependencies. 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.
#477: strum::ParseError now implements core::fmt::Display instead std::fmt::Display to make it #[no_std] compatible. Note the Error trait wasn't available in core until 1.81
so strum::ParseError still only implements that in std.
#476: Breaking Change - EnumString now implements From<&str>
(infallible) instead of TryFrom<&str> when the enum has a #[strum(default)] variant. This more accurately
reflects that parsing cannot fail in that case. If you need the old TryFrom behavior, you can opt back in using parse_error_ty and parse_error_fn:
#431: Fix bug where EnumString ignored the parse_err_ty
attribute when the enum had a #[strum(default)] variant.
#474: EnumDiscriminants will now copy default over from the
original enum to the Discriminant enum.
#[derive(Debug,Default,EnumDiscriminants)]#[strum_discriminants(derive(Default))]// <- Remove this in 0.28.enumMyEnum{#[default]// <- Will be the #[default] on the MyEnumDiscriminant#[strum_discriminants(default)]// <- Remove this in 0.28Variant0,Variant1{a:NonDefault},}
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 becomes conflicted, 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
Renovate 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:
any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package strum@0.27.2 --precise 0.28.0
Updating crates.io index
error: failed to select a version for the requirement `strum = "^0.27"`
candidate versions found which didn't match: 0.28.0
location searched: crates.io index
required by package `ratatui-core v0.1.0`
... which satisfies dependency `ratatui-core = "^0.1.0"` (locked to 0.1.0) of package `ratatui v0.30.0`
... which satisfies dependency `ratatui = "^0.30"` (locked to 0.30.0) of package `agent-core v0.1.0`
... which satisfies dependency `agent-core = "^0.1.0"` (locked to 0.1.0) of package `synapse-client v0.1.0 (/tmp/renovate/repos/github/omnidotdev/synapse-gateway/crates/synapse-client)`
... which satisfies path dependency `synapse-client` (locked to 0.1.0) of package `integration-tests v0.1.0 (/tmp/renovate/repos/github/omnidotdev/synapse-gateway/crates/integration-tests)`
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Because you closed this PR without merging, Renovate will ignore this update (0.28). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
This file contains hidden or 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
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.27→0.28Release Notes
Peternator7/strum (strum)
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: 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 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 was generated by Mend Renovate. View the repository job log.