Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 4, 2025

Bumps strum_macros from 0.26.4 to 0.27.1.

Release notes

Sourced from strum_macros's releases.

v0.27.1

What's Changed

New Contributors

Full Changelog: Peternator7/strum@v0.27.0...v0.27.1

v0.27.0

What's Changed

New Contributors

... (truncated)

Changelog

Sourced from strum_macros's changelog.

0.27.1

  • #414: Fix docrs build error.

  • #417: Mention parse_error_ty and parse_error_fn that had been left out of the docs accidentally.

  • #421#331: Implement #[strum(transparent)] attribute on IntoStaticStr, Display and AsRefStr that forwards the implmenentation to the inner value. Note that for static strings, the inner value must be convertible to an &'static str.

    #[derive(strum::Display)]
    enum SurveyResponse {
      Yes,
      No,
      #[strum(transparent)]
      Other(String)
    }
    fn main() {
    let response = SurveyResponse::Other("It was good".into());
    println!("Question: Did you have fun?");
    println!("Answer: {}", response);
    // prints: Answer: It was good
    }

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.
Commits

Dependabot compatibility score

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)

Bumps [strum_macros](https://github.com/Peternator7/strum) from 0.26.4 to 0.27.1.
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits/v0.27.1)

---
updated-dependencies:
- dependency-name: strum_macros
  dependency-version: 0.27.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 4, 2025

Labels

The following labels could not be found: automerge. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions github-actions bot added the stale label Jun 19, 2025
@github-actions github-actions bot closed this Jun 26, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 26, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/strum_macros-0.27.1 branch June 26, 2025 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant