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 half requirement from 1.8 to 2.0 #1919

Merged
merged 1 commit into from
Jun 22, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 21, 2022

Updates the requirements on half to permit the latest version.

Release notes

Sourced from half's releases.

2.0.0

Changed

  • Breaking Change Minimum supported Rust version is now 1.58.
  • Breaking Change std is now enabled as a default cargo feature. Disable default features to continue using no_std support.
  • Migrated to Rust Edition 2021.
  • Added #[must_use] attributes to functions, as appropriate.

Fixed

  • Fix a soundness bug with slice::as_ptr not correctly using mutable reference. By @​Nilstrieb.

Added

  • Added const conversion methods to both f16 and bf16. These methods never use hardware intrinsics, unlike the current conversion methods, which is why they are separated into new methods. The following const methods were added:
    • from_f32_const
    • from_f64_const
    • to_f32_const
    • to_f64_const
  • Added Neg trait support for borrowed values &f16 and &bf16. By @​pthariensflame.
  • Added AsPrimitive implementations from and to self, usize, and isize. By @​kali.

Removed

  • Breaking Change The deprecated serialize cargo feature has been removed. Use serde cargo feature instead.
  • Breaking Change The deprecated consts module has been removed. Use associated constants on f16 instead.
  • Breaking Change The following deprecated functions have been removed:
    • f16::as_bits
    • slice::from_bits_mut
    • slice::to_bits_mut
    • slice::from_bits
    • slice::to_bits
    • vec::from_bits
    • vec::to_bits
Changelog

Sourced from half's changelog.

[2.0.0] - 2022-06-21

Changed

  • Breaking Change Minimum supported Rust version is now 1.58.
  • Breaking Change std is now enabled as a default cargo feature. Disable default features to continue using no_std support.
  • Migrated to Rust Edition 2021.
  • Added #[must_use] attributes to functions, as appropriate.

Fixed

  • Fix a soundness bug with slice::as_ptr not correctly using mutable reference. By [@​Nilstrieb].

Added

  • Added const conversion methods to both f16 and bf16. These methods never use hardware intrinsics, unlike the current conversion methods, which is why they are separated into new methods. The following const methods were added:
    • from_f32_const
    • from_f64_const
    • to_f32_const
    • to_f64_const
  • Added Neg trait support for borrowed values &f16 and &bf16. By [@​pthariensflame].
  • Added AsPrimitive implementations from and to self, usize, and isize. By [@​kali].

Removed

  • Breaking Change The deprecated serialize cargo feature has been removed. Use serde cargo feature instead.
  • Breaking Change The deprecated consts module has been removed. Use associated constants on f16 instead.
  • Breaking Change The following deprecated functions have been removed:
    • f16::as_bits
    • slice::from_bits_mut
    • slice::to_bits_mut
    • slice::from_bits
    • slice::to_bits
    • vec::from_bits
    • vec::to_bits

[1.8.2] - 2021-10-22

Fixed

  • Remove cargo resolver=2 from manifest to resolve errors in older versions of Rust that still worked with 1.8.0. Going forward, MSRV increases will be major version increases. Fixes #48.

[1.8.1] - 2021-10-21 - Yanked

Yanked

Not recommended due to introducing compilation error in Rust versions that worked with 1.8.0.

Changed

  • Now uses cargo resolver version 2 to prevent dev-dependencies from enabling std feature on optional dependencies.

Fixed

  • Fixed compile failure when std feature is not enabled and num-traits is enabled under new

... (truncated)

Commits
  • 7ae587c Version bump for release
  • 2a463c3 Add miri to CI
  • 36c1e3f Fix exclusive reference obtained from shared reference
  • 4e4ef87 update changelog with PR changes
  • 723ca07 add AsPrimitive impls: from and to self, from and to usize and isize
  • 0389edf Add impl Neg for references
  • f8a4b83 bump rustc min to 1.58
  • 005ad4e allow uninit_vec clippy lint for now
  • ce0279c allow uninit_vec clippy lint for now
  • 37ed710 added #[must_use] attributes
  • Additional commits viewable in compare view

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 [half](https://github.com/starkat99/half-rs) to permit the latest version.
- [Release notes](https://github.com/starkat99/half-rs/releases)
- [Changelog](https://github.com/starkat99/half-rs/blob/main/CHANGELOG.md)
- [Commits](starkat99/half-rs@v1.8.0...v2.0.0)

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

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

dependabot bot commented on behalf of github Jun 21, 2022

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

@github-actions github-actions bot added the arrow Changes to the arrow crate label Jun 21, 2022
@alamb alamb merged commit 9cd591d into master Jun 22, 2022
@alamb alamb deleted the dependabot/cargo/master/half-2.0 branch June 22, 2022 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant