Skip to content

chore(deps): update strum requirement from 0.26.3 to 0.27.1#50

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/strum-0.27.1
Closed

chore(deps): update strum requirement from 0.26.3 to 0.27.1#50
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/strum-0.27.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 17, 2025

Updates the requirements on strum to permit the latest version.

Release notes

Sourced from strum's releases.

v0.27.1

What's Changed

New Contributors

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

Changelog

Sourced from strum'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.

0.26.4 (strum_macros)

  • #360: Fixes bug introduced with new string interpolation feature where

... (truncated)

Commits

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)

Updates the requirements on [strum](https://github.com/Peternator7/strum) to permit the latest version.
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](Peternator7/strum@v0.26.3...v0.27.1)

---
updated-dependencies:
- dependency-name: strum
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 17, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 18, 2025

Looks like strum is no longer a dependency, so this is no longer needed.

@dependabot dependabot bot closed this Feb 18, 2025
@dependabot dependabot bot deleted the dependabot/cargo/strum-0.27.1 branch February 18, 2025 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants