iracing.rs
iracing.rs copied to clipboard
Update bitflags requirement from 1.2 to 2.3
Updates the requirements on bitflags to permit the latest version.
Release notes
Sourced from bitflags's releases.
2.3.0
Major changes
BitFlags
trait deprecated in favor ofFlags
traitThis release introduces the
Flags
trait and deprecates theBitFlags
trait. These two traits are semver compatible so if you have public API code depending onBitFlags
you can move toFlags
without breaking end-users. This is possible because theBitFlags
trait was never publicly implementable, so it now carriesFlags
as a supertrait. All implementations ofFlags
additionally implementBitFlags
.The
Flags
trait is a publicly implementable version of the oldBitFlags
trait. The originalBitFlags
trait carried some macro baggage that made it difficult to implement, so a newFlags
trait has been introduced as the One True Trait for interacting with flags types generically. See the themacro_free
andcustom_derive
examples for more details.
Bits
trait publicly exposedThe
Bits
trait for the underlying storage of flags values is also now publicly implementable. This lets you define your own exotic backing storage for flags. See thecustom_bits_type
example for more details.What's Changed
- Use explicit hashes for actions steps by
@KodrAus
in bitflags/bitflags#350- Support ejecting flags types from the bitflags macro by
@KodrAus
in bitflags/bitflags#351Full Changelog: https://github.com/bitflags/bitflags/compare/2.2.1...2.3.0
Changelog
Sourced from bitflags's changelog.
2.3.0
What's Changed
- Support ejecting flags types from the bitflags macro by
@KodrAus
in bitflags/bitflags#351Full Changelog: https://github.com/bitflags/bitflags/compare/2.2.1...2.3.0
2.2.1
What's Changed
- Refactor attribute filtering to apply per-flag by
@KodrAus
in bitflags/bitflags#345Full Changelog: https://github.com/bitflags/bitflags/compare/2.2.0...2.2.1
2.2.0
What's Changed
- Create SECURITY.md by
@KodrAus
in bitflags/bitflags#338- add docs to describe the behavior of multi-bit flags by
@nicholasbishop
in bitflags/bitflags#340- Add support for bytemuck by
@KodrAus
in bitflags/bitflags#336- Add a top-level macro for filtering attributes by
@KodrAus
in bitflags/bitflags#341New Contributors
@nicholasbishop
made their first contribution in bitflags/bitflags#340Full Changelog: https://github.com/bitflags/bitflags/compare/2.1.0...2.2.0
2.1.0
What's Changed
- Add docs for the internal Field0 and examples of formatting/parsing by
@KodrAus
in bitflags/bitflags#328- Add support for arbitrary by
@KodrAus
in bitflags/bitflags#324- Fix up missing docs for consts within consts by
@KodrAus
in bitflags/bitflags#330- Ignore clippy lint in generated code by
@Jake-Shadle
in bitflags/bitflags#331New Contributors
@Jake-Shadle
made their first contribution in bitflags/bitflags#331Full Changelog: https://github.com/bitflags/bitflags/compare/2.0.2...2.1.0
2.0.2
What's Changed
- Fix up missing isize and usize Bits impls by
@KodrAus
in bitflags/bitflags#321Full Changelog: https://github.com/bitflags/bitflags/compare/2.0.1...2.0.2
2.0.1
What's Changed
... (truncated)
Commits
31d3e4a
Merge pull request #352 from KodrAus/cargo/2.3.051e8197
prepare for 2.3.0 releasec947503
Merge pull request #351 from KodrAus/feat/public-traits796946d
add big endian tests to CIceaa15d
fix up serde support7a6503e
add docs for missing iter module3dfe0b2
tidy up hex flag parsing and formatting9d2cf9e
add more tests around BitFlags to Flags conversion73f660c
add test coverage for more trait methodsc5dd5a6
fix up build on MSRV- Additional commits viewable 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 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)