-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): bump bitflags from 1.3.2 to 2.0.1 #3250
Conversation
Bumps [bitflags](https://github.com/bitflags/bitflags) from 1.3.2 to 2.0.1. - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](bitflags/bitflags@1.3.2...2.0.1) --- updated-dependencies: - dependency-name: bitflags dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Per <https://github.com/bitflags/bitflags/releases/tag/2.0.0> this changes the serialized format of items containing bitflags.
Per https://github.com/bitflags/bitflags/releases/tag/2.0.0 the serialized format of bitflags changed
It looks like bitflags is only used in attest/core/src/error.rs. I'm guessing this may result in clients unable to deserialize the error. |
I'd suggest we should remove the bitflags dependency entirely and replace it with a manual implementation in the style of https://github.com/KodrAus/bitflags-serde-legacy |
The only places we're using
Because we (generally) don't update dependencies without bumping the enclave version (we made an exception), and enclave upgrades are flag-days, I'm OK to continue using bitflags for this, TBH. |
A newer version of bitflags exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I'll assign someone to fix up the hysteresis so this can get merged.
* chore(deps): bump bitflags from 1.3.2 to 2.0.1 Bumps [bitflags](https://github.com/bitflags/bitflags) from 1.3.2 to 2.0.1. - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](bitflags/bitflags@1.3.2...2.0.1) --- updated-dependencies: - dependency-name: bitflags dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Update bitflag usage for the 1.0->2.0 changes Per <https://github.com/bitflags/bitflags/releases/tag/2.0.0> this changes the serialized format of items containing bitflags. * Update enclave lock files * Rust fmt --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nick Santana <[email protected]>
Bumps bitflags from 1.3.2 to 2.0.1.
Release notes
Sourced from bitflags's releases.
... (truncated)
Changelog
Sourced from bitflags's changelog.
... (truncated)
Commits
8b43d2b
Merge pull request #317 from KodrAus/cargo/2.0.1836eabb
update changelog11de329
prepare for 2.0.1 releaseaf44dcc
Merge pull request #316 from KodrAus/fix/multi-bit-flag-fmt5ba27cf
use the iterator state as the source of extra bitsc4c13dc
add repro for multi-bit flagsad02711
Merge pull request #313 from tormeh/tormod/const-empty-flag242f5e7
Make empty_flag() const.2c12c2e
Merge pull request #309 from bitflags/KodrAus-patch-3d1d153b
fix up some docs issuesDependabot 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)