Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump strum from 0.20.0 to 0.24.0 in /src/rust/engine #14925

Merged
merged 1 commit into from
Mar 30, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 28, 2022

Bumps strum from 0.20.0 to 0.24.0.

Changelog

Sourced from strum's changelog.

0.24.0

  • #212. Fix some clippy lints

  • #209. Use core instead of std in a few places.

  • #206. Add get_documentation() to EnumMessage. This provides the ability to get the doc comment for a variant. Currently, very little formatting is done. That is subject to change. Please do not abuse this feature. Rust docs are meant for developer documentation, not long messages for users. However, this may be useful in some situations so we've added support for it.

  • #202. Add a missing doc comment

  • #201. Upgrade Heck version

0.23.1

  • #193 Fixes an ambiguity introduced by #186 when your enum has a variant called Error.

  • #192 The work done in #189 was lost in other PR's. This re-added the functionality to support no-std.

0.23.0

  • #185 Adds the FromRepr derive that adds a from_repr(x: usize) -> Option<Self> method to your enum. This lets you convert integer values to your enum. If you specify a #[repr(..)] attribute on your enum, or use an explicit discriminant, this will be incorporated into the derive.

    • from_repr will be const if you use a recent rust version.
    • This cannot be a trait method currently because only inherent methods support const.
  • #186 Automatically implement TryFrom<str> for enums that implement EnumString. This is only enabled for rustc >= 1.34 which is when `TryFrom was stabilized.

    • This is a small breaking change. If you had manually implemented TryFrom<str> for your enum, this will cause a conflict. You can probably remove your manual implementation.
  • #189 Use core::result::Result instead of std::result::Result. This should be more portable in no-std environments.

0.22.0

  • #180: Deprecates ToString derive. You should use Display instead.

  • #178: Deprecates AsStaticStr. This has been undocumented for a while. The recommended method is to derive IntoStaticStr instead.

  • #171: Improve no-std support.

  • #170: enable changing the path to strum traits. This is necessary if you re-export strum as a submodule in another crate.

... (truncated)

Commits

Dependabot compatibility score

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 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)

@dependabot dependabot bot added the category:internal CI, fixes for not-yet-released features, etc. label Mar 28, 2022
@dependabot dependabot bot force-pushed the dependabot/cargo/src/rust/engine/strum-0.24.0 branch from b02f978 to 496e299 Compare March 28, 2022 21:59
Bumps [strum](https://github.com/Peternator7/strum) from 0.20.0 to 0.24.0.
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/src/rust/engine/strum-0.24.0 branch from 496e299 to 732696b Compare March 29, 2022 16:42
@Eric-Arellano Eric-Arellano merged commit 14a6a1d into main Mar 30, 2022
@dependabot dependabot bot deleted the dependabot/cargo/src/rust/engine/strum-0.24.0 branch March 30, 2022 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant