[PR #1274] [CLOSED] chore(deps): bump strum from 0.26.3 to 0.27.0 #1292

Closed
opened 2026-01-05 14:54:47 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/LGUG2Z/komorebi/pull/1274
Author: @dependabot[bot]
Created: 2/10/2025
Status: Closed

Base: masterHead: dependabot/cargo/strum-0.27.0


📝 Commits (1)

  • 92c7bf5 chore(deps): bump strum from 0.26.3 to 0.27.0

📊 Changes

3 files changed (+26 additions, -7 deletions)

View changed files

📝 Cargo.lock (+24 -5)
📝 komorebi-themes/Cargo.toml (+1 -1)
📝 komorebi/Cargo.toml (+1 -1)

📄 Description

Bumps strum from 0.26.3 to 0.27.0.

Release notes

Sourced from strum's releases.

v0.27.0

What's Changed

New Contributors

Full Changelog: https://github.com/Peternator7/strum/compare/v0.26.3...v0.27.0

Changelog

Sourced from strum's changelog.

0.27.0

Highlights

  • #407: Display is now correctly derived in [no_std] projects.
  • #402: EnumIter now implements Send + Sync
  • #400: EnumTryAs now handles attributes on variant fields correctly.
  • #398: strum is now on rust 2021
  • #391: EnumProperties correctly implements get_bool and get_int finally. 🎉
  • #380: FromString now supports 2 additional attributes, parse_error_ty and parse_error_fn that can be added to use a custom error type rather than the default strum error message.
    • #410: These attributes accept a Path rather than a String to improve behavior with rust-analyzer.

Breaking Changes

  • #384: MSRV is now 1.66.1
  • #391: EnumProperties doesn't provide default implementations anymore. This would have required you to manually implement this trait which should be very uncommon.

0.26.4 (strum_macros)

  • #360: Fixes bug introduced with new string interpolation feature where unit structs took an implicit unnecessary dependency on ::core::alloc.
Commits
  • cc240c3 Update docs with new version
  • 26d7ff1 Remove gnu toolchains from appveyor since they always fail and don't provide ...
  • f684dc4 Per cargo docs, this should fix the circular dep when publishing strum (#411)
  • 45323f7 Use a "Path" instead of "String" for FromStr's error methods (#410)
  • b08ca81 Fix potential errors from vis diffs (#409)
  • b7c31f5 Fix Display macro in no_std apps (#407)
  • 043dc12 Use asserts instead of println in Display docstrings (#403)
  • 46cf82b Using fn() -> T instead of T in the phantom data will make all EnumIterator t...
  • 1e6928c Merge branch 'phsym-master'
  • 96fa148 Merge branch 'master' of https://github.com/phsym/strum into phsym-master
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/LGUG2Z/komorebi/pull/1274 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 2/10/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/cargo/strum-0.27.0` --- ### 📝 Commits (1) - [`92c7bf5`](https://github.com/LGUG2Z/komorebi/commit/92c7bf56c5cc2a97a452192ca89888bf4384018a) chore(deps): bump strum from 0.26.3 to 0.27.0 ### 📊 Changes **3 files changed** (+26 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+24 -5) 📝 `komorebi-themes/Cargo.toml` (+1 -1) 📝 `komorebi/Cargo.toml` (+1 -1) </details> ### 📄 Description Bumps [strum](https://github.com/Peternator7/strum) from 0.26.3 to 0.27.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Peternator7/strum/releases">strum's releases</a>.</em></p> <blockquote> <h2>v0.27.0</h2> <h2>What's Changed</h2> <ul> <li>Fix the unconditional usage of string interpolation in strum by <a href="https://github.com/Peternator7"><code>@​Peternator7</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/360">Peternator7/strum#360</a></li> <li>fix: require strum_macros 0.26.3 by <a href="https://github.com/joshka"><code>@​joshka</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/365">Peternator7/strum#365</a></li> <li>docs(strum_macros): fix word error in doc by <a href="https://github.com/leaf-potato"><code>@​leaf-potato</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/370">Peternator7/strum#370</a></li> <li>Add EnumDiscriminants Trait and related Macro impl by <a href="https://github.com/vpochapuis"><code>@​vpochapuis</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/377">Peternator7/strum#377</a></li> <li>macros: Stop using syn's extra-traits feature by <a href="https://github.com/svix-jplatte"><code>@​svix-jplatte</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/378">Peternator7/strum#378</a></li> <li>docs(strum_macros): fix typo in <code>enum_iter</code> docs by <a href="https://github.com/cenviity"><code>@​cenviity</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/387">Peternator7/strum#387</a></li> <li>Inline generated functions by <a href="https://github.com/marc0246"><code>@​marc0246</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/389">Peternator7/strum#389</a></li> <li>Peternator7/update msrv to 1.66.1 by <a href="https://github.com/Peternator7"><code>@​Peternator7</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/384">Peternator7/strum#384</a></li> <li>Update appveyor.yml to VS 2022 by <a href="https://github.com/Peternator7"><code>@​Peternator7</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/383">Peternator7/strum#383</a></li> <li>feat: FromStr derive could support setting the error type by <a href="https://github.com/JimChenWYU"><code>@​JimChenWYU</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/380">Peternator7/strum#380</a></li> <li>Add support for <code>const_into_str</code> attribute to enable static string conversions in const contexts by <a href="https://github.com/biryukovmaxim"><code>@​biryukovmaxim</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/353">Peternator7/strum#353</a></li> <li>fix typo by <a href="https://github.com/JimChenWYU"><code>@​JimChenWYU</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/393">Peternator7/strum#393</a></li> <li>Implement <code>get_int</code>/<code>get_bool</code> for properties by <a href="https://github.com/marxin"><code>@​marxin</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/391">Peternator7/strum#391</a></li> <li>deps: bumped phf to 0.11 by <a href="https://github.com/jqnatividad"><code>@​jqnatividad</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/401">Peternator7/strum#401</a></li> <li>Quality of life changes by <a href="https://github.com/MHS-0"><code>@​MHS-0</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/398">Peternator7/strum#398</a></li> <li>fix EnumTryAs to allow attributes on enum variant fields by <a href="https://github.com/phsym"><code>@​phsym</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/400">Peternator7/strum#400</a></li> <li>Using fn() -&gt; T instead of T in the phantom data will make all EnumIterator types Send + Sync. by <a href="https://github.com/Peternator7"><code>@​Peternator7</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/402">Peternator7/strum#402</a></li> <li>Use asserts instead of println in Display docstrings by <a href="https://github.com/sukhmel"><code>@​sukhmel</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/403">Peternator7/strum#403</a></li> <li>Fix <code>Display</code> macro in <code>#![no_std]</code> programs by <a href="https://github.com/bugadani"><code>@​bugadani</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/407">Peternator7/strum#407</a></li> <li>Fix potential errors from vis diffs by <a href="https://github.com/Peternator7"><code>@​Peternator7</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/409">Peternator7/strum#409</a></li> <li>Use a &quot;Path&quot; instead of &quot;String&quot; for FromStr's error methods by <a href="https://github.com/Peternator7"><code>@​Peternator7</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/410">Peternator7/strum#410</a></li> <li>Per cargo docs, this should fix the circular dep when publishing strum by <a href="https://github.com/Peternator7"><code>@​Peternator7</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/411">Peternator7/strum#411</a></li> <li>Remove gnu toolchains from appveyor by <a href="https://github.com/Peternator7"><code>@​Peternator7</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/412">Peternator7/strum#412</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/leaf-potato"><code>@​leaf-potato</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/370">Peternator7/strum#370</a></li> <li><a href="https://github.com/vpochapuis"><code>@​vpochapuis</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/377">Peternator7/strum#377</a></li> <li><a href="https://github.com/svix-jplatte"><code>@​svix-jplatte</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/378">Peternator7/strum#378</a></li> <li><a href="https://github.com/cenviity"><code>@​cenviity</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/387">Peternator7/strum#387</a></li> <li><a href="https://github.com/marc0246"><code>@​marc0246</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/389">Peternator7/strum#389</a></li> <li><a href="https://github.com/JimChenWYU"><code>@​JimChenWYU</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/380">Peternator7/strum#380</a></li> <li><a href="https://github.com/biryukovmaxim"><code>@​biryukovmaxim</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/353">Peternator7/strum#353</a></li> <li><a href="https://github.com/marxin"><code>@​marxin</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/391">Peternator7/strum#391</a></li> <li><a href="https://github.com/jqnatividad"><code>@​jqnatividad</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/401">Peternator7/strum#401</a></li> <li><a href="https://github.com/MHS-0"><code>@​MHS-0</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/398">Peternator7/strum#398</a></li> <li><a href="https://github.com/phsym"><code>@​phsym</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/400">Peternator7/strum#400</a></li> <li><a href="https://github.com/sukhmel"><code>@​sukhmel</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/403">Peternator7/strum#403</a></li> <li><a href="https://github.com/bugadani"><code>@​bugadani</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/407">Peternator7/strum#407</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/Peternator7/strum/compare/v0.26.3...v0.27.0">https://github.com/Peternator7/strum/compare/v0.26.3...v0.27.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Peternator7/strum/blob/master/CHANGELOG.md">strum's changelog</a>.</em></p> <blockquote> <h2>0.27.0</h2> <h3>Highlights</h3> <ul> <li><a href="https://redirect.github.com/Peternator7/strum/pull/407">#407</a>: <code>Display</code> is now correctly derived in <code>[no_std]</code> projects.</li> <li><a href="https://redirect.github.com/Peternator7/strum/pull/402">#402</a>: <code>EnumIter</code> now implements <code>Send + Sync</code></li> <li><a href="https://redirect.github.com/Peternator7/strum/pull/400">#400</a>: <code>EnumTryAs</code> now handles attributes on variant fields correctly.</li> <li><a href="https://redirect.github.com/Peternator7/strum/pull/398">#398</a>: <code>strum</code> is now on rust 2021</li> <li><a href="https://redirect.github.com/Peternator7/strum/pull/391">#391</a>: <code>EnumProperties</code> correctly implements <code>get_bool</code> and <code>get_int</code> finally. 🎉</li> <li><a href="https://redirect.github.com/Peternator7/strum/pull/380">#380</a>: <code>FromString</code> now supports 2 additional attributes, <code>parse_error_ty</code> and <code>parse_error_fn</code> that can be added to use a custom error type rather than the default strum error message. <ul> <li><a href="https://redirect.github.com/Peternator7/strum/pull/410">#410</a>: These attributes accept a <code>Path</code> rather than a <code>String</code> to improve behavior with rust-analyzer.</li> </ul> </li> </ul> <h3>Breaking Changes</h3> <ul> <li><a href="https://redirect.github.com/Peternator7/strum/pull/384">#384</a>: MSRV is now 1.66.1</li> <li><a href="https://redirect.github.com/Peternator7/strum/pull/391">#391</a>: <code>EnumProperties</code> doesn't provide default implementations anymore. This would have required you to manually implement this trait which should be very uncommon.</li> </ul> <h2>0.26.4 (strum_macros)</h2> <ul> <li><a href="https://redirect.github.com/Peternator7/strum/pull/360">#360</a>: Fixes bug introduced with new string interpolation feature where unit structs took an implicit unnecessary dependency on <code>::core::alloc</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Peternator7/strum/commit/cc240c3b8bd2879d9e1d32100c788145ec8ffabb"><code>cc240c3</code></a> Update docs with new version</li> <li><a href="https://github.com/Peternator7/strum/commit/26d7ff1f8b74e3276298f4df7cd940e33a684304"><code>26d7ff1</code></a> Remove gnu toolchains from appveyor since they always fail and don't provide ...</li> <li><a href="https://github.com/Peternator7/strum/commit/f684dc446dba26653065c9896d77c4312ae95b7e"><code>f684dc4</code></a> Per cargo docs, this should fix the circular dep when publishing strum (<a href="https://redirect.github.com/Peternator7/strum/issues/411">#411</a>)</li> <li><a href="https://github.com/Peternator7/strum/commit/45323f712fd6773a0f4ce78393fa7b0f9ff4d544"><code>45323f7</code></a> Use a &quot;Path&quot; instead of &quot;String&quot; for FromStr's error methods (<a href="https://redirect.github.com/Peternator7/strum/issues/410">#410</a>)</li> <li><a href="https://github.com/Peternator7/strum/commit/b08ca819c4f726c0cbde3957586848aece1145b6"><code>b08ca81</code></a> Fix potential errors from vis diffs (<a href="https://redirect.github.com/Peternator7/strum/issues/409">#409</a>)</li> <li><a href="https://github.com/Peternator7/strum/commit/b7c31f555786b95bb897ea5c6936eaeacc931fa8"><code>b7c31f5</code></a> Fix Display macro in no_std apps (<a href="https://redirect.github.com/Peternator7/strum/issues/407">#407</a>)</li> <li><a href="https://github.com/Peternator7/strum/commit/043dc127463138f230e6a0326634c82bccd5a5e8"><code>043dc12</code></a> Use asserts instead of println in Display docstrings (<a href="https://redirect.github.com/Peternator7/strum/issues/403">#403</a>)</li> <li><a href="https://github.com/Peternator7/strum/commit/46cf82b69a9b462bd16c10f22328145af48dc278"><code>46cf82b</code></a> Using fn() -&gt; T instead of T in the phantom data will make all EnumIterator t...</li> <li><a href="https://github.com/Peternator7/strum/commit/1e6928cee250c2fb798a2f00d540ddc8ad003b01"><code>1e6928c</code></a> Merge branch 'phsym-master'</li> <li><a href="https://github.com/Peternator7/strum/commit/96fa148256ae27e455bdf1f3dfeb353ba7e48d56"><code>96fa148</code></a> Merge branch 'master' of <a href="https://github.com/phsym/strum">https://github.com/phsym/strum</a> into phsym-master</li> <li>Additional commits viewable in <a href="https://github.com/Peternator7/strum/compare/v0.26.3...v0.27.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=strum&package-manager=cargo&previous-version=0.26.3&new-version=0.27.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-01-05 14:54:47 +01:00
adam closed this issue 2026-01-05 14:54:47 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#1292