Skip to content

Bump enumflags2 from 0.6.4 to 0.7.1#8

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/enumflags2-0.7.1
Closed

Bump enumflags2 from 0.6.4 to 0.7.1#8
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/enumflags2-0.7.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Oct 26, 2021

Bumps enumflags2 from 0.6.4 to 0.7.1.

Release notes

Sourced from enumflags2's releases.

Release 0.7.0

  • Breaking change: instead of #[derive(BitFlags)], the macro is now #[bitflags]
  • when a discriminant isn't provided, the macro will choose an unused bit for you
  • you can now create instances of BitFlags without repeating the name: make_bitflags!(MyFlags::{Foo, Bar}) instead of MyFlags::Foo | MyFlags::Bar. Works in a const fn, too!
  • many new APIs that allow working with BitFlags in a const fn despite rustc limitations
  • many improved error messages
  • implementation details do not show up in user documentation anymore
  • Breaking change: rename the RawBitFlags trait to BitFlag - there's nothing raw about it
  • Breaking change: the not_literal feature doesn't exist, the relevant functionality is now enabled by default - there is no concern about confusing error messages anymore
  • Breaking change: the #[repr(u??)] attribute is now required - previously, Rust's default of usize was used, which is a terrible idea for the size of a bitfield
  • Breaking change: BitFlags::new is now called from_bits_unchecked - new suggests that this is the main, preferred way of creating BitFlags. This is not the case.
  • the value returned by Default::default can now be customized with #[bitflags(default = Foo | Bar)]
Commits
  • 0c5b3ff I don't need another place to forget updating the version.
  • 30e5ba5 Release 0.7.0
  • 4ad8c0b Clippy suggestions
  • 70f22ac Pick discriminants automatically when unspecified
  • 88cd25e Add a test for invalid name in default specification
  • c3ec191 Simplify deferred checks
  • 5db2bf5 New UI test: zero_discriminant_deferred
  • c2d64de Check for overflow in computed flags
  • d0eb893 cargo fmt
  • 0eb2260 Add a test for invalid syntax in attribute
  • Additional commits viewable in compare view

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)

Bumps [enumflags2](https://github.com/NieDzejkob/enumflags2) from 0.6.4 to 0.7.1.
- [Release notes](https://github.com/NieDzejkob/enumflags2/releases)
- [Commits](meithecatte/enumflags2@v0.6.4...v0.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Oct 26, 2021

The following labels could not be found: A2-insubstantial, B0-silent, C1-low 📌.

@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Dec 14, 2021

Superseded by #12.

@dependabot dependabot Bot closed this Dec 14, 2021
@dependabot dependabot Bot deleted the dependabot/cargo/enumflags2-0.7.1 branch December 14, 2021 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants