Bump strum from 0.27.1 to 0.27.2
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(5 months ago)
(5 months ago)
part: dependencies lang: rust
Bumps strum from 0.27.1 to 0.27.2.
Release notes
Sourced from strum's releases.
v0.27.2
What's Changed
- Adding support for doc comments on
EnumDiscriminantsgenerated type… by@linclelinkpart5in Peternator7/strum#141- Drop needless
rustversiondependency by@paolobarboliniin Peternator7/strum#446- Upgrade
phfto v0.12 by@paolobarboliniin Peternator7/strum#448- allow discriminants on empty enum by
@crop2000in Peternator7/strum#435- Remove broken link to EnumTable docs by
@schneemsin Peternator7/strum#427- Change enum table callbacks to FnMut. by
@ClaytonKnittelin Peternator7/strum#443- Add
#[automatically_derived]to theimpls by@dandedotdevin Peternator7/strum#444- Implement a
suffixattribute for serialization of enum variants by@amogh-dambalin Peternator7/strum#440- Expound upon use_phf docs by
@Peternator7in Peternator7/strum#449New Contributors
@paolobarbolinimade their first contribution in Peternator7/strum#446@crop2000made their first contribution in Peternator7/strum#435@schneemsmade their first contribution in Peternator7/strum#427@ClaytonKnittelmade their first contribution in Peternator7/strum#443@dandedotdevmade their first contribution in Peternator7/strum#444@amogh-dambalmade their first contribution in Peternator7/strum#440Full Changelog: https://github.com/Peternator7/strum/compare/v0.27.1...v0.27.2
Changelog
Sourced from strum's changelog.
0.27.2
#141: Adding support for doc comments on
EnumDiscriminantsgenerated 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 theimpls by@dandedotdevin Peternator7/strum#444
- This should make the linter less noisy with warnings in generated code.
#440: Implement a
suffixattribute 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
rustversiondependency.
Commits
38f6621Expound upon use_phf docs (#449)bb13390Implement asuffixattribute for serialization of enum variants (#440)c9e52bfAdd#[automatically_derived]to theimpls (#444)1b00f89Change enum table callbacks to FnMut. (#443)6e2ca25Remove broken link to EnumTable docs (#427)9503781allow discriminants on empty enum (#435)8553ba2Upgradephfto v0.12 (#448)2eba5c2Drop needlessrustversiondependency (#446)f301b67Merge branch 'linclelinkpart5-master-2'455b2bfMerge branch 'master' of https://github.com/linclelinkpart5/strum into lincle...- See full diff in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+3
-3
Package Dependencies
Technical Details
| ID: | 4393482 |
| UUID: | 2711844520 |
| Node ID: | PR_kwDOJy3j7s6ho3ao |
| Host: | GitHub |
| Repository: | python-project-templates/python-template-rust |
| Merge State: | Unknown |