fix(deps): update rust crate strum_macros to v0.27.2 #133

Merged
renovatebot merged 1 commits from renovate/strum-monorepo into master 2025-07-20 10:45:48 -07:00
Collaborator

This PR contains the following updates:

Package Type Update Change
strum_macros dependencies patch 0.27.1 -> 0.27.2

Release Notes

Peternator7/strum (strum_macros)

v0.27.2

Compare Source

  • #​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 https://github.com/Peternator7/strum/pull/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.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [strum_macros](https://github.com/Peternator7/strum) | dependencies | patch | `0.27.1` -> `0.27.2` | --- ### Release Notes <details> <summary>Peternator7/strum (strum_macros)</summary> ### [`v0.27.2`](https://github.com/Peternator7/strum/blob/HEAD/CHANGELOG.md#0272) [Compare Source](https://github.com/Peternator7/strum/compare/v0.27.1...v0.27.2) - [#&#8203;141](https://github.com/Peternator7/strum/pull/141): Adding support for doc comments on `EnumDiscriminants` generated type. - The doc comment will be copied from the variant on the type itself. - [#&#8203;435](https://github.com/Peternator7/strum/pull/435):allow discriminants on empty enum. - [#&#8203;443](https://github.com/Peternator7/strum/pull/443): Change enum table callbacks to FnMut. - [#&#8203;444](https://github.com/Peternator7/strum/pull/444): Add `#[automatically_derived]` to the `impl`s by [@&#8203;dandedotdev](https://github.com/dandedotdev) in https://github.com/Peternator7/strum/pull/444 - This should make the linter less noisy with warnings in generated code. - [#&#8203;440](https://github.com/Peternator7/strum/pull/440): Implement a `suffix` attribute for serialization of enum variants. ```rust #[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 } ``` - [#&#8203;446](https://github.com/Peternator7/strum/pull/446): Drop needless `rustversion` dependency. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS40MC4wIiwidXBkYXRlZEluVmVyIjoiNDEuNDAuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
renovatebot added 1 commit 2025-07-19 16:31:27 -07:00
fix(deps): update rust crate strum_macros to v0.27.2
Some checks failed
Continuous integration / Check (push) Successful in 1m3s
Continuous integration / Test Suite (push) Successful in 2m19s
Continuous integration / Trunk (push) Failing after 7m15s
Continuous integration / Rustfmt (push) Successful in 45s
Continuous integration / build (push) Successful in 1m48s
Continuous integration / Disallow unused dependencies (push) Successful in 2m11s
8b39ea2b38
renovatebot force-pushed renovate/strum-monorepo from 8b39ea2b38 to 232e436378 2025-07-20 09:46:46 -07:00 Compare
renovatebot merged commit 56e6036892 into master 2025-07-20 10:45:48 -07:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wathiede/letterbox#133
No description provided.