Skip to content

fix(deps): update rust crate strum to 0.27#4780

Merged
jdx merged 1 commit intomainfrom
renovate/strum-monorepo
Apr 11, 2025
Merged

fix(deps): update rust crate strum to 0.27#4780
jdx merged 1 commit intomainfrom
renovate/strum-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 4, 2025

This PR contains the following updates:

Package Type Update Change
strum dependencies minor 0.26 -> 0.27

Release Notes

Peternator7/strum (strum)

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
    }

v0.27.0

Compare Source

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.

Configuration

📅 Schedule: Branch creation - "before 4am on Friday" in timezone America/Chicago, 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
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Apr 4, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package [email protected] --precise 0.27.1
    Updating crates.io index
error: failed to select a version for the requirement `strum = "^0.26"`
candidate versions found which didn't match: 0.27.1
location searched: crates.io index
required by package `rops v0.1.4`
    ... which satisfies dependency `rops = "^0.1"` (locked to 0.1.4) of package `mise v2025.4.0 (/tmp/renovate/repos/github/jdx/mise)`

@renovate renovate Bot force-pushed the renovate/strum-monorepo branch from 36957b9 to 2137186 Compare April 9, 2025 19:11
@jdx jdx merged commit 12a08e8 into main Apr 11, 2025
19 of 20 checks passed
@jdx jdx deleted the renovate/strum-monorepo branch April 11, 2025 11:28
jdx pushed a commit that referenced this pull request Apr 11, 2025
### 🚀 Features

- **(registry)** update aws-nuke backend by
[@StingRayZA](https://github.com/StingRayZA) in
[#4815](#4815)

### 🐛 Bug Fixes

- do not default to writing to mise.$MISE_ENV.toml by
[@jdx](https://github.com/jdx) in
[#4817](#4817)
- mise watch forward --exts and --filter to watchexec by
[@cmhms](https://github.com/cmhms) in
[#4826](#4826)

### 📚 Documentation

- Fixing typo in code for flags in toml-tasks.md by
[@arafays](https://github.com/arafays) in
[#4820](#4820)
- branding by [@jdx](https://github.com/jdx) in
[9ad2c17](9ad2c17)
- remove references to not-working docker: tasks by
[@jdx](https://github.com/jdx) in
[2c2fd27](2c2fd27)
- document some dependencies by [@jdx](https://github.com/jdx) in
[6e8bd51](6e8bd51)

### 📦️ Dependency Updates

- update dependency vitepress-plugin-tabs to ^0.7.0 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#4822](#4822)
- update rust crate petgraph to 0.8 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#4823](#4823)
- update rust crate strum to 0.27 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#4780](#4780)

### New Contributors

- @cmhms made their first contribution in
[#4826](#4826)
- @StingRayZA made their first contribution in
[#4815](#4815)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant