Skip to content

Update bitflags requirement from 1.* to 2.* - #150

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/bitflags-2.star
Open

Update bitflags requirement from 1.* to 2.*#150
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/bitflags-2.star

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 13, 2023

Copy link
Copy Markdown
Contributor

Updates the requirements on bitflags to permit the latest version.

Release notes

Sourced from bitflags's releases.

2.0.0

What's Changed

New Contributors

Full Changelog: bitflags/bitflags@1.3.2...2.0.0

Changelog

Sourced from bitflags's changelog.

2.0.0

What's Changed

New Contributors

Full Changelog: bitflags/bitflags@1.3.2...2.0.0

2.0.0-rc.3

What's Changed

... (truncated)

Commits

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)

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>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Mar 13, 2023
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>
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.

0 participants