Update bitflags requirement from 1.* to 2.* - #150
Open
dependabot[bot] wants to merge 1 commit into
Open
Conversation
Updates the requirements on [bitflags](https://github.com/bitflags/bitflags) to permit the latest version. - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](bitflags/bitflags@1.0.0...2.0.0) --- updated-dependencies: - dependency-name: bitflags dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
makubacki
added a commit
to OpenDevicePartnership/patina-mtrr
that referenced
this pull request
Jun 17, 2026
## Description
1. The relatively small number of dependencies in this repo no longer
require exceptions for the `0BSD` and `BSD-3-Clause` licenses.
2. This `bitflags` duplicate skip entry is no longer needed.
- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?
## How This Was Tested
#### Before (`cargo make deny`)
```
[cargo-make] INFO - cargo make 0.37.24
[cargo-make] INFO -
[cargo-make] INFO - Project: patina_mtrr
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: deny
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Execute Command: "cargo" "deny" "check"
warning[license-exception-not-encountered]: license exception was not encountered
┌─ patina-mtrr\deny.toml:94:34
│
94 │ { allow = ["0BSD"], crate = "managed" },
│ ━━━━━━━ unmatched license exception
warning[license-exception-not-encountered]: license exception was not encountered
┌─ patina-mtrr\deny.toml:95:42
│
95 │ { allow = ["BSD-3-Clause"], crate = "alloc-no-stdlib" },
│ ━━━━━━━━━━━━━━━ unmatched license exception
warning[unmatched-skip]: skipped crate 'bitflags' was not encountered
┌─ patina-mtrr\deny.toml:175:16
│
175 │ { crate = "bitflags", reason = "Need gz/rust-x86#150 to be merged into rust-x86." }
│ ━━━━━━━━ ──────────────────────────────────────────────────────────────────────── reason
│ │
│ unmatched skip configuration
advisories ok, bans ok, licenses ok, sources ok
```
#### After (`cargo make deny`)
```
[cargo-make] INFO - cargo make 0.37.24
[cargo-make] INFO -
[cargo-make] INFO - Project: patina_mtrr
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: deny
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Execute Command: "cargo" "deny" "check"
advisories ok, bans ok, licenses ok, sources ok
[cargo-make] INFO - Build Done in 7.18 seconds.
```
## Integration Instructions
- N/A
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
makubacki
added a commit
to OpenDevicePartnership/patina-paging
that referenced
this pull request
Jun 17, 2026
## Description
1. The relatively small number of dependencies in this repo no longer
require exceptions for the `0BSD` and `BSD-3-Clause` licenses.
2. This `bitflags` duplicate skip entry is no longer needed.
- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?
## How This Was Tested
#### Before (`cargo make deny`)
```
[cargo-make] INFO - cargo make 0.37.24
[cargo-make] INFO -
[cargo-make] INFO - Project: patina_paging
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: deny
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Execute Command: "cargo" "deny" "check"
warning[license-exception-not-encountered]: license exception was not encountered
┌─ patina-paging\deny.toml:94:34
│
94 │ { allow = ["0BSD"], crate = "managed" },
│ ━━━━━━━ unmatched license exception
warning[license-exception-not-encountered]: license exception was not encountered
┌─ patina-paging\deny.toml:95:42
│
95 │ { allow = ["BSD-3-Clause"], crate = "alloc-no-stdlib" },
│ ━━━━━━━━━━━━━━━ unmatched license exception
warning[unnecessary-skip]: skip 'bitflags' applied to a crate with only one version
┌─ patina-paging\deny.toml:175:16
│
175 │ { crate = "bitflags", reason = "Need gz/rust-x86#150 to be merged into rust-x86." }
│ ━━━━━━━━ ──────────────────────────────────────────────────────────────────────── reason
│ │
│ unnecessary skip configuration
advisories ok, bans ok, licenses ok, sources ok
```
#### After (`cargo make deny`)
```
[cargo-make] INFO - cargo make 0.37.24
[cargo-make] INFO -
[cargo-make] INFO - Project: patina_mtrr
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: deny
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Execute Command: "cargo" "deny" "check"
advisories ok, bans ok, licenses ok, sources ok
[cargo-make] INFO - Build Done in 7.18 seconds.
```
## Integration Instructions
- N/A
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
makubacki
added a commit
to makubacki/patina-dxe-core-qemu
that referenced
this pull request
Sep 4, 2026
There is currently a warning when running `cargo make deny` that the
duplicate skip for `bitflags` is unnecessary.
```
warning[unnecessary-skip]: skip 'bitflags' applied to a crate with only one version
┌─ patina-dxe-core-qemu/deny.toml:175:16
│
175 │ { crate = "bitflags", reason = "Need gz/rust-x86#150 to be merged into rust-x86." }
│ ━━━━━━━━ ──────────────────────────────────────────────────────────────────────── reason
│ │
│ unnecessary skip configuration
```
This is confirmed by running `cargo tree -p bitflags` which shows
only v2.13.1 is currently used.
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
makubacki
added a commit
to OpenDevicePartnership/patina-dxe-core-qemu
that referenced
this pull request
Sep 4, 2026
## Description
There is currently a warning when running `cargo make deny` that the
duplicate skip for `bitflags` is unnecessary.
```
warning[unnecessary-skip]: skip 'bitflags' applied to a crate with only one version
┌─ patina-dxe-core-qemu/deny.toml:175:16
│
175 │ { crate = "bitflags", reason = "Need gz/rust-x86#150 to be merged into rust-x86." }
│ ━━━━━━━━ ──────────────────────────────────────────────────────────────────────── reason
│ │
│ unnecessary skip configuration
```
This is confirmed by running `cargo tree -p bitflags` which shows only
v2.13.1 is currently used.
- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?
## How This Was Tested
- `cargo make all` / `cargo make deny`
## Integration Instructions
- N/A
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the requirements on bitflags to permit the latest version.
Release notes
Sourced from bitflags's releases.
Changelog
Sourced from bitflags's changelog.
... (truncated)
Commits
b5a5ecfMerge pull request #306 from KodrAus/cargo/2.0.0777d640include any bits not corresponding to a flag in into_iterd1bd5e2use rust-version for the MSRV646959dmore CI tweaksa1c15f6fix up MSRV build8011843Merge pull request #307 from s1rius/patch-1dc8a577fix yaml indentation7410f26some adjustments to text parsing docsc974b3bbump MSRV to 1.56.0c0721ebfix a nit in the readmeDependabot 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 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)