[PR #159] [MERGED] Update strum requirement from 0.19 to 0.20 #278

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

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/159
Author: @dependabot[bot]
Created: 11/23/2020
Status: Merged
Merged: 11/27/2020
Merged by: @ramsayleung

Base: masterHead: dependabot/cargo/strum-0.20


📝 Commits (1)

  • 9af3c13 Update strum requirement from 0.19 to 0.20

📊 Changes

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

View changed files

📝 Cargo.toml (+1 -1)

📄 Description

Updates the requirements on strum to permit the latest version.

Changelog

Sourced from strum's changelog.

0.20.0

  • Refactors to do better error handling. Thanks @jplatte for these changes

  • Adding vis(scope) to EnumDiscriminants. #137

    • This feature works best with versions of rust >= 1.34 due to a rustc parsing error in earlier versions.
    • Earlier versions can still use vis(r#pub)
  • These changes should not be breaking, but the amount of code modified was significant.

  • FYI about #122. The macro renames feature will be removed in early 2021. This feature was only necessary in rust 2015 because macros didn't support qualified imports so macro names could collide between crates.

0.19.4 / 0.19.5

  • Updated docs

0.19.3

  • Properly error on malformed strum attributes. #119
    • These types of inputs have historically been ignore silently. This may break code that is already incorrect.
  • Move docs back to rust docs. #121
  • Updated the docs a second time to improve discoverability.

0.19.2

0.19.1

  • Breaking Change: EnumVariantNames now properly adjusts to the to_string and serialize attributes.
  • There's a regression in this release that may make strum imcompatible with other plugins if those plugins use non-rust syntax in their attributes. #104

0.19.0

  • Fixed a regression using nth_back. #85
  • Added repository to Cargo.toml. #90
  • Correctly handle fill align in Display impls. #95
  • Breaking Change: Use Associated Constant for EnumCount instead of const fn and free constant. #99 This behavior is consistent with the other derives.
  • Breaking Change. default and disabled should now be written as markers instead of key value pairs. Here is the old way of adding these attributes to a variant.

... (truncated)

Commits

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 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/159 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 11/23/2020 **Status:** ✅ Merged **Merged:** 11/27/2020 **Merged by:** [@ramsayleung](https://github.com/ramsayleung) **Base:** `master` ← **Head:** `dependabot/cargo/strum-0.20` --- ### 📝 Commits (1) - [`9af3c13`](https://github.com/ramsayleung/rspotify/commit/9af3c13b4ac41c69dacd86575ad172b1033ecb97) Update strum requirement from 0.19 to 0.20 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.toml` (+1 -1) </details> ### 📄 Description Updates the requirements on [strum](https://github.com/Peternator7/strum) to permit the latest version. <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.20.0</h2> <ul> <li> <p>Refactors to do better error handling. Thanks <a href="https://github.com/jplatte">@jplatte</a> for these changes</p> <ul> <li><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/133">#133</a></li> <li><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/134">#134</a></li> <li><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/135">#135</a></li> </ul> </li> <li> <p>Adding <code>vis(scope)</code> to EnumDiscriminants. <a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/137">#137</a></p> <ul> <li>This feature works best with versions of rust &gt;= 1.34 due to a rustc parsing error in earlier versions.</li> <li>Earlier versions can still use <code>vis(r#pub)</code></li> </ul> </li> <li> <p>These changes should not be breaking, but the amount of code modified was significant.</p> </li> <li> <p>FYI about <a href="https://github-redirect.dependabot.com/Peternator7/strum/issues/122">#122</a>. The macro renames feature will be removed in early 2021. This feature was only necessary in rust 2015 because macros didn't support qualified imports so macro names could collide between crates.</p> </li> </ul> <h2>0.19.4 / 0.19.5</h2> <ul> <li>Updated docs</li> </ul> <h2>0.19.3</h2> <ul> <li>Properly error on malformed strum attributes. <a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/119">#119</a> <ul> <li>These types of inputs have historically been ignore silently. This may break code that is already incorrect.</li> </ul> </li> <li>Move docs back to rust docs. <a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/121">#121</a></li> <li>Updated the docs a second time to improve discoverability.</li> </ul> <h2>0.19.2</h2> <ul> <li>Fixes <a href="https://github-redirect.dependabot.com/Peternator7/strum/issues/104">#104</a>. PR <a href="https://github-redirect.dependabot.com/Peternator7/strum/issues/105">#105</a></li> </ul> <h2>0.19.1</h2> <ul> <li><strong>Breaking Change</strong>: EnumVariantNames now properly adjusts to the <code>to_string</code> and <code>serialize</code> attributes.</li> <li>There's a regression in this release that may make strum imcompatible with other plugins if those plugins use non-rust syntax in their attributes. <a href="https://github-redirect.dependabot.com/Peternator7/strum/issues/104">#104</a></li> </ul> <h2>0.19.0</h2> <ul> <li>Fixed a regression using <code>nth_back</code>. <a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/85">#85</a></li> <li>Added repository to Cargo.toml. <a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/90">#90</a></li> <li>Correctly handle fill align in <code>Display</code> impls. <a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/95">#95</a></li> <li><strong>Breaking Change</strong>: Use Associated Constant for EnumCount instead of const fn and free constant. <a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/99">#99</a> This behavior is consistent with the other derives.</li> <li><strong>Breaking Change</strong>. <code>default</code> and <code>disabled</code> should now be written as markers instead of key value pairs. Here is the old way of adding these attributes to a variant. <pre lang="rust"><code></code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/Peternator7/strum/commits">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 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:24:04 +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#278
No description provided.