mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Auto merge of #28763 - servo:dependabot/cargo/half-1.8.2, r=jdm
Bump half from 1.6.0 to 1.8.2 Bumps [half](https://github.com/starkat99/half-rs) from 1.6.0 to 1.8.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/starkat99/half-rs/releases">half's releases</a>.</em></p> <blockquote> <h2>1.8.2</h2> <h3>Fixed</h3> <ul> <li>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 <a href="https://github-redirect.dependabot.com/starkat99/half-rs/issues/48">#48</a>.</li> </ul> <h2>1.8.1 [YANKED]</h2> <h3><em><strong>Yanked</strong></em></h3> <p><em>Not recommended due to introducing compilation error in Rust versions that worked with 1.8.0.</em></p> <h3>Changed</h3> <ul> <li>Now uses cargo resolver version 2 to prevent dev-dependencies from enabling <code>std</code> feature on optional dependencies.</li> </ul> <h3>Fixed</h3> <ul> <li>Fixed compile failure when <code>std</code> feature is not enabled and <code>num-traits</code> is enabled under new resolver. Now properly uses <code>libm</code> num-traits feature.</li> </ul> <h2>1.8.0</h2> <h3>Changed</h3> <ul> <li>Now always implements <code>Add</code>, <code>Div</code>, <code>Mul</code>, <code>Neg</code>, <code>Rem</code>, and <code>Sub</code> traits. Previously, these were only implemented under the <code>num-traits</code> feature. Keep in mind they still convert to <code>f32</code> and back in the implementation.</li> <li>Minimum supported Rust version is now 1.51.</li> <li>Made crate package <a href="https://reuse.software/">REUSE compliant</a>.</li> <li>Docs now use intra-doc links instead of manual (and hard to maintain) links.</li> <li>The following methods on both <code>f16</code> and <code>bf16</code> are now <code>const</code>: <ul> <li><code>to_le_bytes</code></li> <li><code>to_be_bytes</code></li> <li><code>to_ne_bytes</code></li> <li><code>from_le_bytes</code></li> <li><code>from_be_bytes</code></li> <li><code>from_ne_bytes</code></li> <li><code>is_normal</code></li> <li><code>classify</code></li> <li><code>signum</code></li> </ul> </li> </ul> <h3>Added</h3> <ul> <li>Added optional implementations of <code>zerocopy</code> traits <code>AsBytes</code> and <code>FromBytes</code> under <code>zerocopy</code> cargo feature. By <a href="https://github.com/samcrow"><code>@samcrow</code></a>.</li> <li>Implemented the <code>core::iter::Product</code> and <code>core::iter::Sum</code> traits, with the same caveat as above about converting to <code>f32</code> and back under the hood.</li> <li>Added new associated const <code>NEG_ONE</code> to both <code>f16</code> and <code>bf16</code>.</li> <li>Added the following new methods on both <code>f16</code> and <code>bf16</code>: <ul> <li><code>copysign</code></li> <li><code>max</code></li> <li><code>min</code></li> <li><code>clamp</code></li> </ul> </li> </ul> <h3>Fixed</h3> <ul> <li>Fixed a number of minor lints discovered due to improved CI.</li> </ul> <h2>1.7.1</h2> <h3>Fixed</h3> <ul> <li>Docs.rs now generates docs for <code>bytemuck</code> and <code>num-traits</code> optional features.</li> </ul> <h2>1.7.0</h2> <h3>Added</h3> <ul> <li>Added optional implementations of <code>bytemuck</code> traits <code>Zeroable</code> and <code>Pod</code> under <code>bytemuck</code> cargo feature. By <a href="https://github.com/charles-r-earp"><code>@charles-r-earp</code></a>.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/starkat99/half-rs/blob/main/CHANGELOG.md">half's changelog</a>.</em></p> <blockquote> <h2>[1.8.2] - 2021-10-22 <!-- raw HTML omitted --><!-- raw HTML omitted --></h2> <h3>Fixed</h3> <ul> <li>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 <a href="https://github-redirect.dependabot.com/starkat99/half-rs/issues/48">#48</a>.</li> </ul> <h2>[1.8.1] - 2021-10-21 - <strong>Yanked</strong> <!-- raw HTML omitted --><!-- raw HTML omitted --></h2> <h3><em><strong>Yanked</strong></em></h3> <p><em>Not recommended due to introducing compilation error in Rust versions that worked with 1.8.0.</em></p> <h3>Changed</h3> <ul> <li>Now uses cargo resolver version 2 to prevent dev-dependencies from enabling <code>std</code> feature on optional dependencies.</li> </ul> <h3>Fixed</h3> <ul> <li>Fixed compile failure when <code>std</code> feature is not enabled and <code>num-traits</code> is enabled under new resolver. Now properly uses <code>libm</code> num-traits feature.</li> </ul> <h2>[1.8.0] - 2021-10-13 <!-- raw HTML omitted --><!-- raw HTML omitted --></h2> <h3>Changed</h3> <ul> <li>Now always implements <code>Add</code>, <code>Div</code>, <code>Mul</code>, <code>Neg</code>, <code>Rem</code>, and <code>Sub</code> traits. Previously, these were only implemented under the <code>num-traits</code> feature. Keep in mind they still convert to <code>f32</code> and back in the implementation.</li> <li>Minimum supported Rust version is now 1.51.</li> <li>Made crate package <a href="https://reuse.software/">REUSE compliant</a>.</li> <li>Docs now use intra-doc links instead of manual (and hard to maintain) links.</li> <li>The following methods on both <code>f16</code> and <code>bf16</code> are now <code>const</code>: <ul> <li><code>to_le_bytes</code></li> <li><code>to_be_bytes</code></li> <li><code>to_ne_bytes</code></li> <li><code>from_le_bytes</code></li> <li><code>from_be_bytes</code></li> <li><code>from_ne_bytes</code></li> <li><code>is_normal</code></li> <li><code>classify</code></li> <li><code>signum</code></li> </ul> </li> </ul> <h3>Added</h3> <ul> <li>Added optional implementations of <code>zerocopy</code> traits <code>AsBytes</code> and <code>FromBytes</code> under <code>zerocopy</code> cargo feature. By [<a href="https://github.com/samcrow"><code>@samcrow</code></a>].</li> <li>Implemented the <code>core::iter::Product</code> and <code>core::iter::Sum</code> traits, with the same caveat as above about converting to <code>f32</code> and back under the hood.</li> <li>Added new associated const <code>NEG_ONE</code> to both <code>f16</code> and <code>bf16</code>.</li> <li>Added the following new methods on both <code>f16</code> and <code>bf16</code>: <ul> <li><code>copysign</code></li> <li><code>max</code></li> <li><code>min</code></li> <li><code>clamp</code></li> </ul> </li> </ul> <h3>Fixed</h3> <ul> <li>Fixed a number of minor lints discovered due to improved CI.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="9fbefd4517
"><code>9fbefd4</code></a> remove resolver=2 from manifest</li> <li><a href="28b07e0e52
"><code>28b07e0</code></a> bump version to 1.8.1</li> <li><a href="661708e911
"><code>661708e</code></a> fix num-traits implementation bug when no_std</li> <li><a href="727f5fb4a4
"><code>727f5fb</code></a> fix changelog organization</li> <li><a href="523e79154b
"><code>523e791</code></a> bump version to 1.8.0</li> <li><a href="31d445abbb
"><code>31d445a</code></a> clarify math operations in readme</li> <li><a href="17b590893f
"><code>17b5908</code></a> impl Product and Sum traits</li> <li><a href="1f21fade49
"><code>1f21fad</code></a> impl ref versions of traits for ease of use</li> <li><a href="109a8bc96a
"><code>109a8bc</code></a> add copysign, min, max, and clamp fns</li> <li><a href="78affaaab0
"><code>78affaa</code></a> added const to more functions</li> <li>Additional commits viewable in <a href="https://github.com/starkat99/half-rs/compare/v1.6.0...v1.8.2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
This commit is contained in:
commit
eb14d48949
1 changed files with 2 additions and 2 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -2642,9 +2642,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "half"
|
||||
version = "1.6.0"
|
||||
version = "1.8.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d36fab90f82edc3c747f9d438e06cf0a491055896f2a279638bb5beed6c40177"
|
||||
checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
|
||||
|
||||
[[package]]
|
||||
name = "harfbuzz-sys"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue