Skip to content

build(deps): bump strum from 0.26.3 to 0.27.2#512

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/strum-0.27.2
Open

build(deps): bump strum from 0.26.3 to 0.27.2#512
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/strum-0.27.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 6, 2026

Bumps strum from 0.26.3 to 0.27.2.

Release notes

Sourced from strum's releases.

v0.27.2

What's Changed

New Contributors

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

v0.27.1

What's Changed

New Contributors

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

v0.27.0

What's Changed

... (truncated)

Changelog

Sourced from strum's changelog.

0.27.2

  • #141: Adding support for doc comments on EnumDiscriminants generated type.

    • The doc comment will be copied from the variant on the type itself.
  • #435:allow discriminants on empty enum.

  • #443: Change enum table callbacks to FnMut.

  • #444: Add #[automatically_derived] to the impls by @​dandedotdev in Peternator7/strum#444

    • This should make the linter less noisy with warnings in generated code.
  • #440: Implement a suffix attribute for serialization of enum variants.

    #[derive(strum::Display)]
    #[strum(suffix=".json")]
    #[strum(serialize_all="snake_case")]
    enum StorageConfiguration {
      PostgresProvider,
      S3StorageProvider,
      AzureStorageProvider,
    }
    fn main() {
    let response = SurveyResponse::Other("It was good".into());
    println!("Loading configuration from: {}", StorageConfiguration::PostgresProvider);
    // prints: Loaded Configuration from: postgres_provider.json
    }

  • #446: Drop needless rustversion dependency.

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?");

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Apr 6, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/strum-0.27.2 branch from 9cee2d4 to b7446a6 Compare April 6, 2026 08:21
Bumps [strum](https://github.com/Peternator7/strum) from 0.26.3 to 0.27.2.
- [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.2)

---
updated-dependencies:
- dependency-name: strum
  dependency-version: 0.27.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/strum-0.27.2 branch from b7446a6 to ecec844 Compare April 9, 2026 08:02
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