Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bump strum_macros from 0.26.4 to 0.27.1#1653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dependabot wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromdependabot/cargo/strum_macros-0.27.1

Conversation

dependabot[bot]
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubMar 1, 2025
edited
Loading

Bumpsstrum_macros from 0.26.4 to 0.27.1.

Release notes

Sourced fromstrum_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 fromstrum_macros's changelog.

0.27.1

  • #414: Fix docrs build error.

  • #417: Mentionparse_error_ty andparse_error_fn that had beenleft out of the docs accidentally.

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

    #[derive(strum::Display)]enumSurveyResponse{Yes,No,#[strum(transparent)]Other(String)}fnmain(){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 implementsSend + Sync
  • #400:EnumTryAs now handles attributes on variant fields correctly.
  • #398:strum is now on rust 2021
  • #391:EnumProperties correctly implementsget_bool andget_intfinally. 🎉
  • #380:FromString now supports 2 additional attributes,parse_error_tyandparse_error_fn that can be added to use a custom error type rather than the default strum error message.
    • #410: These attributes accept aPath rather than aStringto 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

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabotdependabotbot added dependenciesPull requests that update a dependency file rustPull requests that update Rust code labelsMar 1, 2025
@codspeed-hqCodSpeed HQ
Copy link

codspeed-hqbot commentedMar 1, 2025
edited
Loading

CodSpeed Performance Report

Merging#1653 willnot alter performance

Comparingdependabot/cargo/strum_macros-0.27.1 (4b5a944) withmain (aa142f9)

Summary

✅ 157 untouched benchmarks

@dependabotdependabotbotforce-pushed thedependabot/cargo/strum_macros-0.27.1 branch from40a92f4 to72a07e5CompareMarch 3, 2025 09:51
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-type: direct:production  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbotforce-pushed thedependabot/cargo/strum_macros-0.27.1 branch from72a07e5 to4b5a944CompareMarch 11, 2025 12:26
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
dependenciesPull requests that update a dependency filerustPull requests that update Rust code
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

0 participants

[8]ページ先頭

©2009-2025 Movatter.jp