-
Notifications
You must be signed in to change notification settings - Fork 5
Commit e5d1f39
authored
build(deps): bump strum from 0.26.2 to 0.27.1 (#87)
Bumps [strum](https://github.com/Peternator7/strum) from 0.26.2 to
0.27.1.
<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.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix docsrs build error regarding IntoDiscriminant trait by <a
href="https://github.com/tveness"><code>@tveness</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/414">Peternator7/strum#414</a></li>
<li>Update docs to actually include new features by <a
href="https://github.com/Peternator7"><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/417">Peternator7/strum#417</a></li>
<li>Use _ to silence warnings about unused fields by <a
href="https://github.com/Peternator7"><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/418">Peternator7/strum#418</a></li>
<li>Add <code>#[strum(transparent)]</code> attribute by <a
href="https://github.com/bobozaur"><code>@bobozaur</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/331">Peternator7/strum#331</a></li>
<li>Fix warnings in tests from variants by <a
href="https://github.com/Peternator7"><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/419">Peternator7/strum#419</a></li>
<li>Peternator7/fix transparent typo by <a
href="https://github.com/Peternator7"><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/421">Peternator7/strum#421</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tveness"><code>@tveness</code></a> made
their first contribution in <a
href="https://redirect.github.com/Peternator7/strum/pull/414">Peternator7/strum#414</a></li>
<li><a href="https://github.com/bobozaur"><code>@bobozaur</code></a>
made their first contribution in <a
href="https://redirect.github.com/Peternator7/strum/pull/331">Peternator7/strum#331</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/Peternator7/strum/compare/v0.27.0...v0.27.1">https://github.com/Peternator7/strum/compare/v0.27.0...v0.27.1</a></p>
<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() -> 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 "Path" instead of "String" 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>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</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.1</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/414">#414</a>:
Fix docrs build error.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/417">#417</a>:
Mention <code>parse_error_ty</code> and <code>parse_error_fn</code> that
had been
left out of the docs accidentally.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/421">#421</a><a
href="https://redirect.github.com/Peternator7/strum/pull/331">#331</a>:
Implement
<code>#[strum(transparent)]</code> attribute on
<code>IntoStaticStr</code>, <code>Display</code> and
<code>AsRefStr</code> that forwards the implmenentation to
the inner value. Note that for static strings, the inner value must be
convertible to an <code>&'static str</code>.</p>
<pre lang="rust"><code>#[derive(strum::Display)]
enum SurveyResponse {
Yes,
No,
#[strum(transparent)]
Other(String)
}
<p>fn main() {
let response = SurveyResponse::Other("It was good".into());
println!("Question: Did you have fun?");
println!("Answer: {}", response);
// prints: Answer: It was good
}
</code></pre></p>
</li>
</ul>
<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</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Peternator7/strum/commit/85d0ae61d149472d971e76fd08e6bd9c314ec4b7"><code>85d0ae6</code></a>
Update versions to 0.27.1 everywhere</li>
<li><a
href="https://github.com/Peternator7/strum/commit/1576a7ab599b5adffa82fb9234e561a7aeea5ed0"><code>1576a7a</code></a>
Peternator7/fix transparent typo (<a
href="https://redirect.github.com/Peternator7/strum/issues/421">#421</a>)</li>
<li><a
href="https://github.com/Peternator7/strum/commit/23d29527cde7f389aa2dc17d3e8f01380cfeeccd"><code>23d2952</code></a>
Create ci.yml</li>
<li><a
href="https://github.com/Peternator7/strum/commit/9c5fb56b4b6b7b0db43c9fa8e8a0621b544e209a"><code>9c5fb56</code></a>
Fix warnings in tests from variants that need to exist, but don't get
used (#...</li>
<li><a
href="https://github.com/Peternator7/strum/commit/030d7b5b6a42599359887a30bc2c62000f558646"><code>030d7b5</code></a>
Merge branch 'bobozaur-258-transparent-attr'</li>
<li><a
href="https://github.com/Peternator7/strum/commit/7606dd598215e43a1dca004722b42816a60baa01"><code>7606dd5</code></a>
Do some light refactoring to combine similiar code paths together</li>
<li><a
href="https://github.com/Peternator7/strum/commit/b6a357d5ba991555b57530160ed82bd80aed1200"><code>b6a357d</code></a>
Merge branch '258-transparent-attr' of <a
href="https://github.com/bobozaur/strum">https://github.com/bobozaur/strum</a>
into...</li>
<li><a
href="https://github.com/Peternator7/strum/commit/24e7a4fdddd769d4ed2c84de625b75d06b545b63"><code>24e7a4f</code></a>
Use _ to silence warnings (<a
href="https://redirect.github.com/Peternator7/strum/issues/418">#418</a>)</li>
<li><a
href="https://github.com/Peternator7/strum/commit/4c1f6c1015d336f9732ea2f5aa96f21020ae2d4b"><code>4c1f6c1</code></a>
Update docs to actually include new features (<a
href="https://redirect.github.com/Peternator7/strum/issues/417">#417</a>)</li>
<li><a
href="https://github.com/Peternator7/strum/commit/9db3c4dc9b6f585aeb9f5f15f9cc18b6cf4fd780"><code>9db3c4d</code></a>
Replace IntoDiscriminant with EnumDiscriminants in macro exports, as (<a
href="https://redirect.github.com/Peternator7/strum/issues/414">#414</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/Peternator7/strum/compare/v0.26.2...v0.27.1">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
You can trigger a rebase of this PR 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>
> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.2 files changed
+14
-8
lines changed+13-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
| 34 | + | |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
|
0 commit comments