Skip to content

Update Rust crate strum_macros to v0.27.1#16196

Merged
MichaReiser merged 1 commit intomainfrom
renovate/strum-monorepo
Feb 17, 2025
Merged

Update Rust crate strum_macros to v0.27.1#16196
MichaReiser merged 1 commit intomainfrom
renovate/strum-monorepo

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 17, 2025

This PR contains the following updates:

Package Type Update Change
strum_macros workspace.dependencies patch 0.27.0 -> 0.27.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

Peternator7/strum (strum_macros)

v0.27.1

Compare Source

  • #​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
    }

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the internal An internal refactor or improvement label Feb 17, 2025
@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@MichaReiser MichaReiser merged commit 4d083e5 into main Feb 17, 2025
21 checks passed
@MichaReiser MichaReiser deleted the renovate/strum-monorepo branch February 17, 2025 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal An internal refactor or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant