Skip to content
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

Bump raw-cpuid from 10.7.0 to 11.0.1 #499

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 13, 2023

Bumps raw-cpuid from 10.7.0 to 11.0.1.

Changelog

Sourced from raw-cpuid's changelog.

[11.0.1] - 2023-05-03

  • Fix a regression from v10.7.0. CpuIdReader was falsely required to implement Debug for CpuId::debug() which is too strict.

[11.0.0] - 2023-04-17

Breaking changes

  • The CpuId type now takes a generic reader argument CpuId<R: CpuIdReader>: which allows for more flexibility on how cpuid is queried and better support for using the library on non-x86 targets. This is a breaking change for users of with_cpuid_fn and potentially when specifying CpuId as a type argument somewhere. To make existing code compile again, whenever a generic type argument for CpuId is needed, you can use the cpuid::NativeCpuIdReader type which provides the default behavior of execution the cpuid instruction.

    For example, in your code there might be cases where the compiler now asks you to specify the generic type of CpuId: e.g., fn take_cpuid(cpuid: CpuId) would become: fn take_cpuid(cpuid: CpuId<NativeCpuIdReader>)

    See also #140 and #138 for the original discussion.

  • If you're using the serialization feature: It go revamped by fixing some long-standing problems with it that made it difficult to use #87. All types except CpuIdResult types lost their Serialize and Deserialize derives. Check the new example on how to serialize and deserialize cpuid information.

Other changes

  • Updated bitflags to v2.
Commits
  • 0630d77 Update version.
  • 2c9b40e Update CHANGELOG.md
  • 3d334ea Pass tests.
  • 04e192a Test that CpuId::new() continues to produce something that impls Debug.
  • bb82f81 Don't require the CpuIdReader trait support Debug to implement Debug on CpuId.
  • 7929f41 Don't build serialize_deserialize example if serde_json feature isn't enabled.
  • 927152c Update clap to v4.
  • 47b3149 Bump actions/checkout from 3.3.0 to 3.5.2
  • 85abf05 No longer require serde on bitflags.
  • 6399c47 Fix version field.
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [raw-cpuid](https://github.com/gz/rust-cpuid) from 10.7.0 to 11.0.1.
- [Changelog](https://github.com/gz/rust-cpuid/blob/master/CHANGELOG.md)
- [Commits](gz/rust-cpuid@10.7.0...11.0.1)

---
updated-dependencies:
- dependency-name: raw-cpuid
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 13, 2023
Copy link
Owner

@vinc vinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot merged commit be61412 into trunk Jun 14, 2023
@dependabot dependabot bot deleted the dependabot/cargo/raw-cpuid-11.0.1 branch June 14, 2023 18:22
@vinc vinc mentioned this pull request Jun 20, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant