build(deps): update bitflags requirement from 1.2 to 2.4 in /lib/kpi
Updates the requirements on bitflags to permit the latest version.
Release notes
Sourced from bitflags's releases.
2.4.0
What's Changed
- Remove html_root_url by
@eldruinin bitflags/bitflags#368- Support unnamed flags by
@KodrAusin bitflags/bitflags#371- Update smoke test to verify all Clippy and rustc lints by
@MitMaroin bitflags/bitflags#374- Specify the behavior of bitflags by
@KodrAusin bitflags/bitflags#369- Prepare for 2.4.0 release by
@KodrAusin bitflags/bitflags#376New Contributors
@eldruinmade their first contribution in bitflags/bitflags#368@MitMaromade their first contribution in bitflags/bitflags#374Full Changelog: https://github.com/bitflags/bitflags/compare/2.3.3...2.4.0
Changelog
Sourced from bitflags's changelog.
2.4.0
What's Changed
- Remove html_root_url by
@eldruinin bitflags/bitflags#368- Support unnamed flags by
@KodrAusin bitflags/bitflags#371- Update smoke test to verify all Clippy and rustc lints by
@MitMaroin bitflags/bitflags#374- Specify the behavior of bitflags by
@KodrAusin bitflags/bitflags#369New Contributors
@eldruinmade their first contribution in bitflags/bitflags#368@MitMaromade their first contribution in bitflags/bitflags#374Full Changelog: https://github.com/bitflags/bitflags/compare/2.3.3...2.4.0
2.3.3
Changes to
-=The
-=operator was incorrectly changed to truncate bits that didn't correspond to valid flags in2.3.0. This has been fixed up so it once again behaves the same as-anddifference.Changes to
!The
!operator previously calledSelf::from_bits_truncate, which would truncate any bits that only partially overlapped with a valid flag. It will now usebits & Self::all().bits(), so any bits that overlap any bits specified by any flag will be respected. This is unlikely to have any practical implications, but enables defining a flag likeconst ALL = !0as a way to signal that any bit pattern is a known set of flags.Changes to formatting
Zero-valued flags will never be printed. You'll either get
0x0for empty flags using debug formatting, or the set of flags with zero-valued flags omitted for others.Composite flags will no longer be redundantly printed if there are extra bits to print at the end that don't correspond to a valid flag.
What's Changed
- Fix up incorrect sub assign behavior and other cleanups by
@KodrAusin bitflags/bitflags#366Full Changelog: https://github.com/bitflags/bitflags/compare/2.3.2...2.3.3
2.3.2
What's Changed
- [doc] [src/lib.rs] delete redundant path prefix by
@OccupyMars2025in bitflags/bitflags#361New Contributors
@OccupyMars2025made their first contribution in bitflags/bitflags#361Full Changelog: https://github.com/bitflags/bitflags/compare/2.3.1...2.3.2
... (truncated)
Commits
472e392Merge pull request #376 from KodrAus/cargo/2.4.03e58685prepare for 2.4.0 release2e1be0dMerge pull request #369 from bitflags/feat/spec6a966d7fix up an unwanted compiler errora86ed60update error messageec25c82ensure compile tests run in CIdf23c23redundant qualifiereb5d8a6fix up some broken links635fb14use const fns for name comparison6657207add some key definitions to the readme- 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 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)