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 multiversion requirement from 0.6.1 to 0.7.0 #42

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 12, 2022

Updates the requirements on multiversion to permit the latest version.

Release notes

Sourced from multiversion's releases.

Multiversion 0.7.0

Changed

  • The multiversion macro has been overhauled. Now uses a single attribute macro, rather than helper attributes.
  • Increased minimum required Rust version to 1.61.0.

Added

  • The function dispatch method is now selectable, between direct or indirect dispatch, as well as compile-time static dispatch.
  • Added a variety of macros in the multiversion::target module for querying the selected target features.
  • Targets can now be specified by CPU (e.g. x86-64-v2 or skylake).
  • Added option to pass attributes to clones.
  • Added special targets = "simd" option to automatically target all SIMD instruction sets.

Removed

  • Removed the specialize mode. All targets now specify clones. Specialization should be implemented by querying the selected targets.
  • Removed support for functions that reference self or Self. Previous support was inconsistent and difficult to use correctly.

Fixed

  • Fixed broken impl Trait support. Using impl Trait in return position now results in an error.
  • Dispatch is now bypassed in scenarios where no targets are specified for the target architecture, or if the first matching target features are known to exist at compile time.
  • Improved performance of direct dispatch.
  • Avoid indirect dispatch in some situations, such as when using retpolines
Changelog

Sourced from multiversion's changelog.

[0.7.0] - 2022-12-09

Changed

  • The multiversion macro has been overhauled. Now uses a single attribute macro, rather than helper attributes.
  • Increased minimum required Rust version to 1.61.0.

Added

  • The function dispatch method is now selectable, between direct or indirect dispatch, as well as compile-time static dispatch.
  • Added a variety of macros in the multiversion::target module for querying the selected target features.
  • Targets can now be specified by CPU (e.g. x86-64-v2 or skylake).
  • Added option to pass attributes to clones.
  • Added special targets = "simd" option to automatically target all SIMD instruction sets.

Removed

  • Removed the specialize mode. All targets now specify clones. Specialization should be implemented by querying the selected targets.
  • Removed support for functions that reference self or Self. Previous support was inconsistent and difficult to use correctly.

Fixed

  • Fixed broken impl Trait support. Using impl Trait in return position now results in an error.
  • Dispatch is now bypassed in scenarios where no targets are specified for the target architecture, or if the first matching target features are known to exist at compile time.
  • Improved performance of direct dispatch.
  • Avoid indirect dispatch in some situations, such as when using retpolines

[0.6.1] - 2020-08-18

Fixed

  • Fixed disallowing some valid architectures, such as "wasm32"

[0.6.0] - 2020-07-13

Added

  • Added are_cpu_features_detected macro.
  • Added #[crate_path] helper attribute for renaming/reimporting the crate.

Changed

  • Changed runtime_dispatch Cargo feature to std
  • Changed static dispatching from the #[static_dispatch] helper attribute to dispatch! helper macro.

[0.5.1] - 2020-05-29

Changed

  • Removed dependency on regex and once_cell

Fixed

  • Fixed bug where #[multiversion] failed to compile when crate was re-exported or renamed.

[0.5.0] - 2020-04-19

Added

  • Support for associated functions (including methods).
  • Support for impl Trait.
  • Specification for name mangling.
  • Documentation for #[safe_inner] helper attribute for #[target].

Removed

  • Removed #[target_clones] attribute (functionality is now included in #[multiversion] attribute).

Changed

  • #[multiversion] interface now uses helper attributes, providing both target specialization and function cloning.
  • Increased minimum required Rust version to 1.34.0.

Fixed

  • Vague error spans now point to a more informative source location.

... (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 [multiversion](https://github.com/calebzulawski/multiversion) to permit the latest version.
- [Release notes](https://github.com/calebzulawski/multiversion/releases)
- [Changelog](https://github.com/calebzulawski/multiversion/blob/master/CHANGELOG.md)
- [Commits](calebzulawski/multiversion@0.6.1...0.7.0)

---
updated-dependencies:
- dependency-name: multiversion
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Dec 12, 2022

The following labels could not be found: auto-dependencies.

@github-actions github-actions bot added the arrow label Dec 12, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Dec 26, 2022

Superseded by #49.

@dependabot dependabot bot closed this Dec 26, 2022
@dependabot dependabot bot deleted the dependabot/cargo/master/multiversion-0.7.0 branch December 26, 2022 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants