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

Update raw-cpuid requirement from 10.2 to 11.0 #83

Merged
merged 4 commits into from
Sep 16, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 18, 2023

Updates the requirements on raw-cpuid to permit the latest version.

Changelog

Sourced from raw-cpuid's changelog.

[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.

[10.7.0] - 2023-02-27

  • Include the pretty printing code in the library (instead of only having it in the binary) (#137) This introduces a new (optional) display feature. display will also enable std so it can't be used in no_std environments.

[10.6.1] - 2023-02-03

  • Fix potential overflow during formatting when using the in cpuid binary to display cache information. (#133)

[10.6.0] - 2022-09-12

  • Updated termimad to 0.20 (only affects cpuid binary version)
  • Add support for AMD leaf 0x8000_001E
  • Add support for AMD leaf 0x8000_0019
  • Updated ExtendedFeatures to include new features

[10.5.0] - 2022-08-17

... (truncated)

Commits
  • 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.
  • a7b6f47 Update cargo version, changelog.
  • 3f6e8b1 update bitflags dep to 2.0
  • 898d010 Fix CI.
  • 3fc0864 Remove default generic argument. Improve docs.
  • a47aee1 Add serialize/deserialize example.
  • 7de3bc8 Switch from Copy -> Clone
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [raw-cpuid](https://github.com/gz/rust-cpuid) to permit the latest version.
- [Release notes](https://github.com/gz/rust-cpuid/releases)
- [Changelog](https://github.com/gz/rust-cpuid/blob/master/CHANGELOG.md)
- [Commits](gz/rust-cpuid@10.2.0...11.0.0)

---
updated-dependencies:
- dependency-name: raw-cpuid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 18, 2023
@rukai
Copy link

rukai commented Sep 1, 2023

Would be nice to see these dependency upgrades merged

@tobz
Copy link
Member

tobz commented Sep 4, 2023

I'll likely be able to get to this in a few weeks, given it doesn't appear to be security related.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 15, 2023

A newer version of raw-cpuid 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.

@tobz tobz merged commit ff7abb9 into main Sep 16, 2023
21 checks passed
@tobz tobz deleted the dependabot/cargo/raw-cpuid-11.0 branch September 16, 2023 17:51
@tobz
Copy link
Member

tobz commented Oct 4, 2023

Released as quanta@v0.12.0.

tabVersion pushed a commit to tabVersion/quanta that referenced this pull request Oct 29, 2024
Updates the requirements on [raw-cpuid](https://github.com/gz/rust-cpuid) to permit the latest version.
- [Release notes](https://github.com/gz/rust-cpuid/releases)
- [Changelog](https://github.com/gz/rust-cpuid/blob/master/CHANGELOG.md)
- [Commits](gz/rust-cpuid@10.2.0...11.0.0)

---
updated-dependencies:
- dependency-name: raw-cpuid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Toby Lawrence <tobz@users.noreply.github.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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants