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

chore(deps): bump bytesize from 1.3.2 to 2.0.0 #116

Merged
merged 1 commit into from
Mar 2, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2025

Bumps bytesize from 1.3.2 to 2.0.0.

Changelog

Sourced from bytesize's changelog.

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.0.
- [Release notes](https://github.com/bytesize-rs/bytesize/releases)
- [Changelog](https://github.com/bytesize-rs/bytesize/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bytesize-rs/bytesize/commits)

---
updated-dependencies:
- dependency-name: bytesize
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 24, 2025
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This major version update to bytesize 2.0.0 introduces significant changes to size limit handling in yek:

  • Switches to IEC (binary) format by default, affecting how size limits are displayed and parsed in lib.rs
  • Removes to_string_as() and top-level to_string() methods used for size formatting
  • Changes SI unit notation from "KB" to "kB" which impacts size limit parsing
  • Adds new display customization options via ByteSize::display()

The changes require careful review of size limit parsing and display code to ensure compatibility with the new binary format default and updated method signatures.

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@mohsen1 mohsen1 added this pull request to the merge queue Mar 2, 2025
Merged via the queue into main with commit 990da1d Mar 2, 2025
25 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/bytesize-2.0.0 branch March 2, 2025 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant