Skip to content

Commit

Permalink
chore(deps): bump bitflags from 1.3.2 to 2.0.1 (#3250)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
dependabot[bot] and nick-mobilecoin authored Apr 10, 2023
1 parent 11a6767 commit f66c071
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 15 deletions.
5 changes: 4 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion attest/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ mc-util-encodings = { path = "../../util/encodings" }
mc-util-repr-bytes = { path = "../../util/repr-bytes", features = ["hex_fmt"] }

base64 = { version = "0.21", default-features = false, features = ["alloc"] }
bitflags = "1.3"
bitflags = { version = "2.0", default-features = false, features = ["serde"] }
chrono = { version = "0.4.24", default-features = false, features = ["alloc"] }
digest = "0.10"
displaydoc = { version = "0.2", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion attest/core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ pub enum ReportDetailsError {

bitflags! {
/// Revocation cause flags
#[derive(Deserialize, Serialize)]
#[derive(Clone, Debug, Deserialize, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)]
pub struct RevocationCause: u64 {
/// Cause reason was not given (but still revoked)
const UNSPECIFIED = 0;
Expand Down
1 change: 1 addition & 0 deletions attest/core/src/ias/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ impl<'src> TryFrom<&'src VerificationReport> for VerificationReportData {
"SIGNATURE_INVALID" => Err(IasQuoteError::SignatureInvalid),
"GROUP_REVOKED" => Err(IasQuoteError::GroupRevoked(
revocation_reason
.clone()
.ok_or_else(|| JsonError::FieldMissing("revocationReason".to_string()))?,
platform_info_blob
.ok_or_else(|| JsonError::FieldMissing("platformInfoBlob".to_string()))?,
Expand Down
15 changes: 12 additions & 3 deletions consensus/enclave/trusted/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 12 additions & 3 deletions fog/ingest/enclave/trusted/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 12 additions & 3 deletions fog/ledger/enclave/trusted/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 12 additions & 3 deletions fog/view/enclave/trusted/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f66c071

Please sign in to comment.