[PR #519] [CLOSED] Update strum requirement from 0.26.1 to 0.27.0 #511

Closed
opened 2026-02-27 20:25:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/519
Author: @dependabot[bot]
Created: 2/10/2025
Status: Closed

Base: masterHead: dependabot/cargo/strum-0.27.0


📝 Commits (1)

  • 82f74e5 Update strum requirement from 0.26.1 to 0.27.0

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 rspotify-model/Cargo.toml (+1 -1)

📄 Description

Updates the requirements on strum to permit the latest version.

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.

0.26.3 (strum_macros)

  • #344: Hide EnumTable because it's going to be deprecated in the next version.
  • #357: Fixes an incompatiblity with itertools by using the fully qualified name rather than the inherent method.
  • #345: Allows unnamed tuple like variants to use their variants in string interpolation. #[strum(to_string = "Field 0: {0}, Field 1: {1})")] will now work for tuple variants

0.26.2

  • #337: Fix missing generic impls for EnumTryAs
  • #334: Support prefix in AsRefStr. Technically a breaking change, but prefix was just added in 0.26.0 so it's a newer feature and it makes the feature more consisent in general.

0.26.1

  • #325: use core instead of std in VariantArray.

0.26.0

Breaking Changes

  • The EnumVariantNames macro has been renamed VariantNames. The deprecation warning should steer you in

... (truncated)

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 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/ramsayleung/rspotify/pull/519 **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) - [`82f74e5`](https://github.com/ramsayleung/rspotify/commit/82f74e5b107120b7da0628111319876c70b1d2f1) Update strum requirement from 0.26.1 to 0.27.0 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `rspotify-model/Cargo.toml` (+1 -1) </details> ### 📄 Description Updates the requirements on [strum](https://github.com/Peternator7/strum) to permit the latest version. <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> <h2>0.26.3 (strum_macros)</h2> <ul> <li><a href="https://redirect.github.com/Peternator7/strum/pull/344">#344</a>: Hide <code>EnumTable</code> because it's going to be deprecated in the next version.</li> <li><a href="https://redirect.github.com/Peternator7/strum/pull/357">#357</a>: Fixes an incompatiblity with <code>itertools</code> by using the fully qualified name rather than the inherent method.</li> <li><a href="https://redirect.github.com/Peternator7/strum/pull/345">#345</a>: Allows unnamed tuple like variants to use their variants in string interpolation. <code>#[strum(to_string = &quot;Field 0: {0}, Field 1: {1})&quot;)]</code> will now work for tuple variants</li> </ul> <h2>0.26.2</h2> <ul> <li><a href="https://redirect.github.com/Peternator7/strum/pull/337">#337</a>: Fix missing generic impls for <code>EnumTryAs</code></li> <li><a href="https://redirect.github.com/Peternator7/strum/pull/334">#334</a>: Support prefix in <code>AsRefStr</code>. Technically a breaking change, but <code>prefix</code> was just added in <code>0.26.0</code> so it's a newer feature and it makes the feature more consisent in general.</li> </ul> <h2>0.26.1</h2> <ul> <li><a href="https://redirect.github.com/Peternator7/strum/pull/325">#325</a>: use <code>core</code> instead of <code>std</code> in VariantArray.</li> </ul> <h2>0.26.0</h2> <h3>Breaking Changes</h3> <ul> <li>The <code>EnumVariantNames</code> macro has been renamed <code>VariantNames</code>. The deprecation warning should steer you in</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.1...v0.27.0">compare view</a></li> </ul> </details> <br /> 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>
kerem 2026-02-27 20:25:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#511
No description provided.