Skip to content

Commit d480269

Browse files
Bump strum_macros from 0.26.4 to 0.27.0 (#217)
Bumps [strum_macros](https://github.com/Peternator7/strum) from 0.26.4 to 0.27.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Peternator7/strum/releases">strum_macros'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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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://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_macros's changelog</a>.</em></p> <blockquote> <h2>0.27.0</h2> <h3>Highlights</h3> <ul> <li><a href="https://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://github.com/Peternator7/strum/pull/402">#402</a>: <code>EnumIter</code> now implements <code>Send + Sync</code></li> <li><a href="https://github.com/Peternator7/strum/pull/400">#400</a>: <code>EnumTryAs</code> now handles attributes on variant fields correctly.</li> <li><a href="https://github.com/Peternator7/strum/pull/398">#398</a>: <code>strum</code> is now on rust 2021</li> <li><a href="https://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://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://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://github.com/Peternator7/strum/pull/384">#384</a>: MSRV is now 1.66.1</li> <li><a href="https://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> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/Peternator7/strum/commits/v0.27.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=strum_macros&package-manager=cargo&previous-version=0.26.4&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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 47c71a0 commit d480269

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ qrcode-generator = "5.0.0"
2323
sha1 = "0.10"
2424
sha2 = "0.10"
2525
strum = "0.27"
26-
strum_macros = "0.26"
26+
strum_macros = "0.27"
2727
uuid = { version = "1.13", features = ["v4", "fast-rng"] }
2828
time-tz = { version = "2.0", features = ["db", "system"] }
2929
log = { version = "0.4", features = ["std"] }

0 commit comments

Comments
 (0)