chore(deps): bump bytesize from 1.3.2 to 2.0.1 #146

Merged
dependabot[bot] merged 1 commit from dependabot/cargo/bytesize-2.0.1 into main 2025-03-08 17:16:42 +01:00
dependabot[bot] commented 2025-03-03 06:08:37 +01:00 (Migrated from github.com)

Bumps bytesize from 1.3.2 to 2.0.1.

Release notes

Sourced from bytesize's releases.

bytesize: v2.0.1

  • Add support for precision in Display implementations.
Changelog

Sourced from bytesize's changelog.

2.0.1

  • Add support for precision in Display implementations.

v2.0.0

  • Add support for no_std targets.
  • Use IEC (binary) format by default with Display.
  • Use "kB" for SI unit.
  • Add Display type for customizing printed format.
  • Add ByteSize::display() method.
  • Implement Sub<ByteSize> for ByteSize.
  • Implement Sub<impl Into<u64>> for ByteSize.
  • Implement SubAssign<ByteSize> for ByteSize.
  • Implement SubAssign<impl Into<u64>> for ByteSize.
  • Reject parsing non-unit characters after whitespace.
  • Remove ByteSize::to_string_as() method.
  • Remove top-level to_string() method.
  • Remove top-level B constant.
Commits

Dependabot compatibility score

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 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)
Bumps [bytesize](https://github.com/bytesize-rs/bytesize) from 1.3.2 to 2.0.1. <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.0.1</h2> <ul> <li>Add support for precision in <code>Display</code> implementations.</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.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/d2ac87bdcd5ef8a926c199c2a9b1b605de2836cf"><code>d2ac87b</code></a> chore: prepare release v2.0.1 (<a href="https://redirect.github.com/bytesize-rs/bytesize/issues/85">#85</a>)</li> <li><a href="https://github.com/bytesize-rs/bytesize/commit/0a54210c3bd2f48462c9f9afefb4fb2452bd8f66"><code>0a54210</code></a> feat: control precision via standard format options (<a href="https://redirect.github.com/bytesize-rs/bytesize/issues/84">#84</a>)</li> <li><a href="https://github.com/bytesize-rs/bytesize/commit/9aa5e11316f4e06935bd5426b28f9bd2e203e198"><code>9aa5e11</code></a> Fix Display documentation (<a href="https://redirect.github.com/bytesize-rs/bytesize/issues/83">#83</a>)</li> <li><a href="https://github.com/bytesize-rs/bytesize/commit/0b8f8943197ce750af1b0c65791d1595bb8898e0"><code>0b8f894</code></a> chore: prepare release 2.0.0 (<a href="https://redirect.github.com/bytesize-rs/bytesize/issues/80">#80</a>)</li> <li><a href="https://github.com/bytesize-rs/bytesize/commit/6aa04b1201b7cddb67b1333b4cc93a75e4684790"><code>6aa04b1</code></a> test: black box bench inputs (<a href="https://redirect.github.com/bytesize-rs/bytesize/issues/81">#81</a>)</li> <li><a href="https://github.com/bytesize-rs/bytesize/commit/341d47c9c92d97783b03952e01cd5bf81878d0e3"><code>341d47c</code></a> chore: prepare release v2.0.0 (<a href="https://redirect.github.com/bytesize-rs/bytesize/issues/79">#79</a>)</li> <li><a href="https://github.com/bytesize-rs/bytesize/commit/a17c0937c7d016c7e620a004ab595871ad22fd57"><code>a17c093</code></a> feat: no std (<a href="https://redirect.github.com/bytesize-rs/bytesize/issues/78">#78</a>)</li> <li><a href="https://github.com/bytesize-rs/bytesize/commit/ce103e6a43c30ce4a0383cc11caab99953117746"><code>ce103e6</code></a> feat: display type (<a href="https://redirect.github.com/bytesize-rs/bytesize/issues/76">#76</a>)</li> <li><a href="https://github.com/bytesize-rs/bytesize/commit/0dcc0ac6cf55a2585822e8304f7166a4a1bd26bc"><code>0dcc0ac</code></a> chore: enforce usual rust lints (<a href="https://redirect.github.com/bytesize-rs/bytesize/issues/75">#75</a>)</li> <li><a href="https://github.com/bytesize-rs/bytesize/commit/b4c69164749acb306bc4d091dfb597fbb358ffad"><code>b4c6916</code></a> docs: document all public items (<a href="https://redirect.github.com/bytesize-rs/bytesize/issues/73">#73</a>)</li> <li>Additional commits viewable in <a href="https://github.com/bytesize-rs/bytesize/compare/v1.3.2...bytesize-v2.0.1">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.2&new-version=2.0.1)](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 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>
Sign in to join this conversation.
No description provided.