dependabot[bot] opened a new pull request, #6716: URL: https://github.com/apache/arrow-datafusion/pull/6716
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.25.0</h2> <h3>Breaking Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/Peternator7/strum/pull/261">#261</a> Upgrade syn dependency to version 2. This bumps the msrv to 1.56. It's impractical to maintain a package where a core dependency of the ecosystem has a different msrv than this one.</p> </li> <li> <p><a href="https://redirect.github.com/Peternator7/strum/pull/270">270</a> Change the <code>to_string</code> behavior when using <code>default</code>. Now, when using <code>default</code>, the <code>display</code> method will return the display version of the value contained in the enum rather than the name of the variant.</p> <pre lang="rust"><code>#[derive(strum::Display)] enum Color { Red, Blue, Green, #[strum(default)] Other(String) } <p>fn main() { // This used to print "Other", now it prints "Purple" assert_eq!(Color::Other("Purple".to_string()).to_string(), "Purple"); } </code></pre></p> <p>If you want the old behavior, you can use the <code>to_string</code> attribute to override this behavior. See the PR for an example.</p> </li> <li> <p><a href="https://redirect.github.com/Peternator7/strum/pull/268">268</a> Update the behavior of <code>EnumCount</code> to exclude variants that are <code>disabled</code>. This is a breaking change, but the behavior makes it more consistent with other methods.</p> </li> </ul> <h3>New Features</h3> <ul> <li> <p><a href="https://redirect.github.com/Peternator7/strum/pull/257">#257</a> This PR adds the <code>EnumIs</code> macro that automatically implements <code>is_{variant_name}</code> methods for each variant.</p> <pre lang="rust"><code>#[derive(EnumIs)] enum Color { Red, Blue, Green, } <p>#[test] fn simple_test() { assert!(Color::Red.is_red()); } </code></pre></p> </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> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
