Skip to content

fix(deps): update rust crate strum to 0.28#794

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/strum-monorepo
Apr 3, 2026
Merged

fix(deps): update rust crate strum to 0.28#794
renovate[bot] merged 1 commit intomainfrom
renovate/strum-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 3, 2026

This PR contains the following updates:

Package Type Update Change
strum dependencies minor 0.270.28

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 - "before 4am on friday" in timezone America/Chicago, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • 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 enabled auto-merge (squash) April 3, 2026 06:02
@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 3, 2026

PR author is in the excluded authors list.

@renovate renovate Bot force-pushed the renovate/strum-monorepo branch from 833ac33 to 9be2ee9 Compare April 3, 2026 06:38
@renovate renovate Bot merged commit 222f61f into main Apr 3, 2026
17 checks passed
@renovate renovate Bot deleted the renovate/strum-monorepo branch April 3, 2026 06:59
@jdx jdx mentioned this pull request Apr 3, 2026
jdx added a commit that referenced this pull request Apr 5, 2026
### 🚀 Features

- **(hook)** support per-worktree hooks via extensions.worktreeConfig by
[@nkakouros](https://github.com/nkakouros) in
[#789](#789)

### 🐛 Bug Fixes

- **(config)** use XDG_CONFIG_HOME for config path instead of
dirs::config_dir() by [@fukuchancat](https://github.com/fukuchancat) in
[#801](#801)

### 📦️ Dependency Updates

- update anthropics/claude-code-action digest to 0432df8 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#791](#791)
- update rust crate indexmap to v2.13.1 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#792](#792)
- update actions/configure-pages action to v6 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#795](#795)
- update rust crate strum to 0.28 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#794](#794)
- update actions/deploy-pages action to v5 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#796](#796)
- update dependency globals to v17 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#797](#797)
- update github artifact actions (major) by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#798](#798)
- update jdx/mise-action action to v4 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#799](#799)

### New Contributors

- @fukuchancat made their first contribution in
[#801](#801)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Primarily a version bump and documentation/lockfile updates; no
functional Rust source changes are included in this diff.
> 
> **Overview**
> Publishes the `v1.41.0` release by bumping the crate/CLI version
(`Cargo.toml`, `Cargo.lock`, `hk.usage.kdl`, generated CLI docs) and
adding the `1.41.0` entry to `CHANGELOG.md`.
> 
> Updates documentation and example Pkl snippets to reference the
`v1.41.0` release artifacts, and refreshes `Cargo.lock` with dependency
patch/minor updates (e.g., `tokio`, ICU crates, `signal-hook`,
`semver`).
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
0c8dea7. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Apr 8, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [hk](https://github.com/jdx/hk) | minor | `1.40.0` → `1.41.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>jdx/hk (hk)</summary>

### [`v1.41.0`](https://github.com/jdx/hk/blob/HEAD/CHANGELOG.md#1410---2026-04-05)

[Compare Source](jdx/hk@v1.40.0...v1.41.0)

##### 🚀 Features

- **(hook)** support per-worktree hooks via extensions.worktreeConfig by [@&#8203;nkakouros](https://github.com/nkakouros) in [#&#8203;789](jdx/hk#789)

##### 🐛 Bug Fixes

- **(builtins)** use workspace\_indicator for Go package-level analysis tools by [@&#8203;jdx](https://github.com/jdx) in [#&#8203;803](jdx/hk#803)
- **(config)** use XDG\_CONFIG\_HOME for config path instead of dirs::config\_dir() by [@&#8203;fukuchancat](https://github.com/fukuchancat) in [#&#8203;801](jdx/hk#801)

##### 📦️ Dependency Updates

- update anthropics/claude-code-action digest to [`0432df8`](jdx/hk@0432df8) by [@&#8203;renovate\[bot\]](https://github.com/renovate\[bot]) in [#&#8203;791](jdx/hk#791)
- update rust crate indexmap to v2.13.1 by [@&#8203;renovate\[bot\]](https://github.com/renovate\[bot]) in [#&#8203;792](jdx/hk#792)
- update actions/configure-pages action to v6 by [@&#8203;renovate\[bot\]](https://github.com/renovate\[bot]) in [#&#8203;795](jdx/hk#795)
- update rust crate strum to 0.28 by [@&#8203;renovate\[bot\]](https://github.com/renovate\[bot]) in [#&#8203;794](jdx/hk#794)
- update actions/deploy-pages action to v5 by [@&#8203;renovate\[bot\]](https://github.com/renovate\[bot]) in [#&#8203;796](jdx/hk#796)
- update dependency globals to v17 by [@&#8203;renovate\[bot\]](https://github.com/renovate\[bot]) in [#&#8203;797](jdx/hk#797)
- update github artifact actions (major) by [@&#8203;renovate\[bot\]](https://github.com/renovate\[bot]) in [#&#8203;798](jdx/hk#798)
- update jdx/mise-action action to v4 by [@&#8203;renovate\[bot\]](https://github.com/renovate\[bot]) in [#&#8203;799](jdx/hk#799)

##### New Contributors

- [@&#8203;fukuchancat](https://github.com/fukuchancat) made their first contribution in [#&#8203;801](jdx/hk#801)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMDQuMSIsInVwZGF0ZWRJblZlciI6IjQzLjEwNC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6bWlub3IiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants