deps: bump bytesize from 1.3.3 to 2.4.2 (#2286)

Bumps [bytesize](https://github.com/bytesize-rs/bytesize) from 1.3.3 to
2.4.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/bytesize-rs/bytesize/releases">bytesize's
releases</a>.</em></p>
<blockquote>
<h2>bytesize: v2.4.2</h2>
<ul>
<li>Improve accuracy of parsing large non-decimal byte count
strings.</li>
</ul>
<h2>bytesize: v2.4.1</h2>
<ul>
<li>Fix rounding error near power-of-unit boundaries.</li>
</ul>
<h2>bytesize: v2.4.0</h2>
<ul>
<li>Implement <code>Sum</code> for <code>ByteSize</code>.</li>
<li>Minimum supported Rust version (MSRV) is now 1.85.</li>
</ul>
<h2>bytesize: v2.3.1</h2>
<ul>
<li>Fix unit truncation in error strings.</li>
</ul>
<h2>bytesize: v2.3.0</h2>
<ul>
<li>Add <code>Unit</code> enum.</li>
<li>Add <code>UnitParseError</code> type.</li>
</ul>
<h2>bytesize: v2.2.0</h2>
<ul>
<li>Add <code>ByteSize::as_*()</code> methods to return equivalent sizes
in KB, GiB, etc.</li>
</ul>
<h2>bytesize: v2.1.0</h2>
<ul>
<li>Support parsing and formatting exabytes (EB) &amp; exbibytes
(EiB).</li>
<li>Migrate <code>serde</code> dependency to
<code>serde_core</code>.</li>
</ul>
<h2>bytesize: v2.0.1</h2>
<ul>
<li>Add support for precision in <code>Display</code>
implementations.</li>
</ul>
<h2>bytesize: v2.0.0</h2>
<ul>
<li>Add support for <code>no_std</code> targets.</li>
<li>Use IEC (binary) format by default with <code>Display</code>.</li>
<li>Use &quot;kB&quot; for SI unit.</li>
<li>Add <code>Display</code> type for customizing printed format.</li>
<li>Add <code>ByteSize::display()</code> method.</li>
<li>Implement <code>Sub&lt;ByteSize&gt;</code> for
<code>ByteSize</code>.</li>
<li>Implement <code>Sub&lt;impl Into&lt;u64&gt;&gt;</code> for
<code>ByteSize</code>.</li>
<li>Implement <code>SubAssign&lt;ByteSize&gt;</code> for
<code>ByteSize</code>.</li>
<li>Implement <code>SubAssign&lt;impl Into&lt;u64&gt;&gt;</code> for
<code>ByteSize</code>.</li>
<li>Reject parsing non-unit characters after whitespace.</li>
<li>Remove <code>ByteSize::to_string_as()</code> method.</li>
<li>Remove top-level <code>to_string()</code> method.</li>
<li>Remove top-level <code>B</code> constant.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/bytesize-rs/bytesize/blob/master/CHANGELOG.md">bytesize's
changelog</a>.</em></p>
<blockquote>
<h2>2.4.2</h2>
<ul>
<li>Improve accuracy of parsing large non-decimal byte count
strings.</li>
</ul>
<h2>2.4.1</h2>
<ul>
<li>Fix rounding error near power-of-unit boundaries.</li>
</ul>
<h2>2.4.0</h2>
<ul>
<li>Implement <code>Sum</code> for <code>ByteSize</code>.</li>
<li>Minimum supported Rust version (MSRV) is now 1.85.</li>
</ul>
<h2>2.3.1</h2>
<ul>
<li>Fix unit truncation in error strings.</li>
</ul>
<h2>2.3.0</h2>
<ul>
<li>Add <code>Unit</code> enum.</li>
<li>Add <code>UnitParseError</code> type.</li>
</ul>
<h2>2.2.0</h2>
<ul>
<li>Add <code>ByteSize::as_*()</code> methods to return equivalent sizes
in KB, GiB, etc.</li>
</ul>
<h2>2.1.0</h2>
<ul>
<li>Support parsing and formatting exabytes (EB) &amp; exbibytes
(EiB).</li>
<li>Migrate <code>serde</code> dependency to
<code>serde_core</code>.</li>
</ul>
<h2>2.0.1</h2>
<ul>
<li>Add support for precision in <code>Display</code>
implementations.</li>
</ul>
<h2>v2.0.0</h2>
<ul>
<li>Add support for <code>no_std</code> targets.</li>
<li>Use IEC (binary) format by default with <code>Display</code>.</li>
<li>Use &quot;kB&quot; for SI unit.</li>
<li>Add <code>Display</code> type for customizing printed format.</li>
<li>Add <code>ByteSize::display()</code> method.</li>
<li>Implement <code>Sub&lt;ByteSize&gt;</code> for
<code>ByteSize</code>.</li>
<li>Implement <code>Sub&lt;impl Into&lt;u64&gt;&gt;</code> for
<code>ByteSize</code>.</li>
<li>Implement <code>SubAssign&lt;ByteSize&gt;</code> for
<code>ByteSize</code>.</li>
<li>Implement <code>SubAssign&lt;impl Into&lt;u64&gt;&gt;</code> for
<code>ByteSize</code>.</li>
<li>Reject parsing non-unit characters after whitespace.</li>
<li>Remove <code>ByteSize::to_string_as()</code> method.</li>
<li>Remove top-level <code>to_string()</code> method.</li>
<li>Remove top-level <code>B</code> constant.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/bytesize-rs/bytesize/commit/2f8d196ae1929ed209af901ab7154bf958c0ca6c"><code>2f8d196</code></a>
chore: release v2.4.2 (<a
href="https://redirect.github.com/bytesize-rs/bytesize/issues/177">#177</a>)</li>
<li><a
href="https://github.com/bytesize-rs/bytesize/commit/13f4aee47c0572593dfbded9ce170d55530faec6"><code>13f4aee</code></a>
Avoid f64 precision loss when parsing integer byte counts (<a
href="https://redirect.github.com/bytesize-rs/bytesize/issues/171">#171</a>)</li>
<li><a
href="https://github.com/bytesize-rs/bytesize/commit/37cf3fcb89231d7c458364a2c00ac83a2825bdcb"><code>37cf3fc</code></a>
chore: release v2.4.1 (<a
href="https://redirect.github.com/bytesize-rs/bytesize/issues/176">#176</a>)</li>
<li><a
href="https://github.com/bytesize-rs/bytesize/commit/c84e2938406298e50f5541c367a1be7fe483a9b7"><code>c84e293</code></a>
chore(deps): bump actions-rust-lang/setup-rust-toolchain from 1.16.1 to
1.17....</li>
<li><a
href="https://github.com/bytesize-rs/bytesize/commit/fdba7f05beff618c504c4b4d4fb8153721b24426"><code>fdba7f0</code></a>
chore(deps): bump taiki-e/install-action from 2.81.10 to 2.82.7 (<a
href="https://redirect.github.com/bytesize-rs/bytesize/issues/173">#173</a>)</li>
<li><a
href="https://github.com/bytesize-rs/bytesize/commit/1bad4015d2695509d6641787a2bb65b562a8d4ab"><code>1bad401</code></a>
chore(deps): bump actions/checkout from 6.0.3 to 7.0.0 (<a
href="https://redirect.github.com/bytesize-rs/bytesize/issues/174">#174</a>)</li>
<li><a
href="https://github.com/bytesize-rs/bytesize/commit/520a55778039697b8fa621467d2116c48c6d8ad3"><code>520a557</code></a>
fix: ideal_unit_std picks the wrong unit near power-of-unit boundaries
(<a
href="https://redirect.github.com/bytesize-rs/bytesize/issues/175">#175</a>)</li>
<li><a
href="https://github.com/bytesize-rs/bytesize/commit/a50ff2fa9b564d737967413b7d9816ef751c5a01"><code>a50ff2f</code></a>
chore(deps): bump taiki-e/install-action from 2.75.27 to 2.81.10 (<a
href="https://redirect.github.com/bytesize-rs/bytesize/issues/163">#163</a>)</li>
<li><a
href="https://github.com/bytesize-rs/bytesize/commit/ce689d7ad0d8ca422ccefac61fa3ef430828b203"><code>ce689d7</code></a>
chore(deps): bump codecov/codecov-action from 6.0.0 to 7.0.0 (<a
href="https://redirect.github.com/bytesize-rs/bytesize/issues/164">#164</a>)</li>
<li><a
href="https://github.com/bytesize-rs/bytesize/commit/284b09dce63d96255dfb1743263fc5ccacdf7366"><code>284b09d</code></a>
chore(deps): bump serde_json from 1.0.149 to 1.0.150 (<a
href="https://redirect.github.com/bytesize-rs/bytesize/issues/165">#165</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/bytesize-rs/bytesize/compare/v1.3.3...bytesize-v2.4.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=bytesize&package-manager=cargo&previous-version=1.3.3&new-version=2.4.2)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2026-08-10 17:32:34 -05:00
committed by GitHub
parent 522faa1a59
commit 6448545a7f
2 changed files with 3 additions and 3 deletions
Generated
+2 -2
View File
@@ -861,9 +861,9 @@ dependencies = [
[[package]]
name = "bytesize"
version = "1.3.3"
version = "2.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e93abca9e28e0a1b9877922aacb20576e05d4679ffa78c3d6dc22a26a216659"
checksum = "3d7c8918969267b2932ffd5655509bbbea0833823058c378876953217f5fc50e"
[[package]]
name = "cast"
+1 -1
View File
@@ -38,7 +38,7 @@ http-body-util = "0.1"
hyper = "1"
url = "2"
humantime = "2"
bytesize = "1"
bytesize = "2"
tokio-util = { version = "0.7" }
headroom-core = { path = "../headroom-core" }
# Phase D PR-D1: native Bedrock InvokeModel route. SigV4 + AWS