Skip to content

chore(deps): update rust crate strum to 0.28.0#9097

Open
renovate[bot] wants to merge 1 commit intotrunkfrom
renovate/strum-monorepo
Open

chore(deps): update rust crate strum to 0.28.0#9097
renovate[bot] wants to merge 1 commit intotrunkfrom
renovate/strum-monorepo

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 23, 2026

This PR contains the following updates:

Package Type Update Change
strum workspace.dependencies minor 0.27.10.28.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

Peternator7/strum (strum)

v0.28.0

Compare Source

  • #​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.

  • #​465: Upgrade phf dependency to v0.13.

  • #​473: Fix cargo fmt / clippy issues and add GitHub Actions CI.

  • #​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:

    #[derive(EnumString)]
    #[strum(parse_error_ty = strum::ParseError, parse_error_fn = make_error)]
    pub enum Color {
        Red,
        #[strum(default)]
        Other(String),
    }
    
    fn make_error(x: &str) -> strum::ParseError {
        strum::ParseError::VariantNotFound
    }
  • #​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.
    enum MyEnum {
        #[default] // <- Will be the #[default] on the MyEnumDiscriminant
        #[strum_discriminants(default)] // <- Remove this in 0.28
        Variant0,
        Variant1 { a: NonDefault },
    }

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), 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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Feb 23, 2026
@renovate
Copy link
Contributor Author

renovate bot commented Feb 23, 2026

⚠️ Artifact update problem

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 git repository `https://github.com/Xudong-Huang/generator-rs`
From https://github.com/Xudong-Huang/generator-rs
 * [new ref]         70b89fdabcc0e82fe84ca17f65cc52ff25e8e6de -> refs/commit/70b89fdabcc0e82fe84ca17f65cc52ff25e8e6de
    Updating crates.io index
    Updating git repository `https://github.com/gfx-rs/rspirv`
From https://github.com/gfx-rs/rspirv
 * [new ref]         89ce4d0e64c91b0635f617409dc57cb031749a39 -> refs/commit/89ce4d0e64c91b0635f617409dc57cb031749a39
    Updating git submodule `https://github.com/KhronosGroup/SPIRV-Headers.git`
From https://github.com/KhronosGroup/SPIRV-Headers
 * [new ref]         09913f088a1197aba4aefd300a876b2ebbaa3391 -> refs/commit/09913f088a1197aba4aefd300a876b2ebbaa3391
error: failed to select a version for the requirement `strum = "^0.27.1"`
candidate versions found which didn't match: 0.28.0
location searched: crates.io index
required by package `deno_ops v0.231.0`
    ... which satisfies dependency `deno_ops = "^0.231.0"` of package `deno_core v0.355.0`
    ... which satisfies dependency `deno_core = "^0.355.0"` of package `cts_runner v28.0.0 (/tmp/renovate/repos/github/gfx-rs/wgpu/cts_runner)`

@ErichDonGubler
Copy link
Member

This is blocked on upstream work in Deno along the lines of denoland/deno_core#1105.

@ErichDonGubler ErichDonGubler added the good first issue Good for newcomers label Feb 23, 2026
@renovate renovate bot force-pushed the renovate/strum-monorepo branch from aa2b5c9 to 6784ad9 Compare February 25, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file good first issue Good for newcomers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant