Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 24, 2025

Bumps bitfield-struct from 0.11.0 to 0.12.0.

Release notes

Sourced from bitfield-struct's releases.

0.12.0

This release contains a few fixes for #64 and #68, as well as optional support for the binrw traits #65 from @​Maccraft123.

Additionally, it introduces a small new macro for generating the from_bits/into_bits function for enums:

use bitfield_struct::bitenum;
#[bitenum]
#[repr(u8)]
#[derive(Debug, PartialEq, Eq)]
enum MyEnum {
#[fallback]
A = 0,
B = 1,
C = 2,
}
assert_eq!(MyEnum::from_bits(1), MyEnum::B);
assert_eq!(MyEnum::C.into_bits(), 2);
#[bitfield(u8)]
struct Test {
#[bits(8)]
value: MyEnum,
}

Thanks to @​MolotovCherry and @​xTachyon for reporting these issues.

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [bitfield-struct](https://github.com/wrenger/bitfield-struct-rs) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/wrenger/bitfield-struct-rs/releases)
- [Commits](wrenger/bitfield-struct-rs@0.11.0...0.12.0)

---
updated-dependencies:
- dependency-name: bitfield-struct
  dependency-version: 0.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 24, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 28, 2025

Superseded by #180.

@dependabot dependabot bot closed this Oct 28, 2025
@dependabot dependabot bot deleted the dependabot/cargo/bitfield-struct-0.12.0 branch October 28, 2025 10:22
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.

1 participant