PackageTrack
Sign in Get early access

bytesize

Semantic wrapper for byte count representations

2.7.0 98M downloads/mo #816 most downloaded on crates.io bytesize-rs/bytesize

What this package is like to depend on

Last release 21 days ago

02 Aug 2026

Release timing varies

gaps range from 1 weeks to 1.6 years

Some releases are documented

notes for 10 of 27 stable releases

4 versions withdrawn

withdrawn after publishing

11 years old

32 releases · first in 2015

10 releases in the last 12 months

see the full history below

Release timeline

32 releases · Apr 2015 to Aug 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 32
  1. 2.7.0 02 Aug 2026
    Release notes
    • Remove no-alloc support because it removed ByteSize::display() when default features were disabled.
    Open source →
    Release notes
    • Remove no-alloc support because it removed ByteSize::display() when default features were disabled.
    Open source →
  2. 2.6.0 31 Jul 2026 withdrawn
    Release notes
    • Add display styles for IEC and SI bit units.

    (yanked)

    Open source →
    Release notes
    • Add display styles for IEC and SI bit units.
    Open source →
  3. 2.5.0 31 Jul 2026 withdrawn
    Release notes
    • Honor precision when a width is set with formatting args.
    • Add #[no_alloc] support.

    (yanked)

    Open source →
    Release notes
    • Honor precision when a width is set with formatting args.
    • Add #[no_alloc] support.
    Open source →
  4. 2.4.2 03 Jul 2026
    Release notes
    • Improve accuracy of parsing large non-decimal byte count strings.
    Open source →
    Release notes
    • Improve accuracy of parsing large non-decimal byte count strings.
    Open source →
  5. 2.4.1 03 Jul 2026
    Release notes
    • Fix rounding error near power-of-unit boundaries.
    Open source →
    Release notes
    • Fix rounding error near power-of-unit boundaries.
    Open source →
  6. 2.4.0 13 Jun 2026
    Release notes
    • Implement Sum for ByteSize.
    • Minimum supported Rust version (MSRV) is now 1.85.
    Open source →
    Release notes
    • Implement Sum for ByteSize.
    • Minimum supported Rust version (MSRV) is now 1.85.
    Open source →
  7. 2.3.1 26 Nov 2025
    Release notes
    • Fix unit truncation in error strings.
    Open source →
    Release notes
    • Fix unit truncation in error strings.
    Open source →
  8. 2.3.0 20 Nov 2025
    Release notes
    • Add Unit enum.
    • Add UnitParseError type.
    Open source →
    Release notes
    • Add Unit enum.
    • Add UnitParseError type.
    Open source →
  9. 2.2.0 10 Nov 2025
    Release notes
    • Add ByteSize::as_*() methods to return equivalent sizes in KB, GiB, etc.
    Open source →
    Release notes
    • Add ByteSize::as_*() methods to return equivalent sizes in KB, GiB, etc.
    Open source →
  10. 2.1.0 15 Sep 2025
    Release notes
    • Support parsing and formatting exabytes (EB) & exbibytes (EiB).
    • Migrate serde dependency to serde_core.
    Open source →
    Release notes
    • Support parsing and formatting exabytes (EB) & exbibytes (EiB).
    • Migrate serde dependency to serde_core.
    Open source →
  11. 2.0.1 28 Feb 2025
    Release notes
    • Add support for precision in Display implementations.
    Open source →
  12. 2.0.0 24 Feb 2025
    Release notes
    • 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.
    Open source →
  13. 2.0.0-beta.1 23 Feb 2025 pre-release

    Nothing published for this version

  14. 1.3.3 31 Mar 2025

    Nothing published for this version

  15. 1.3.2 11 Feb 2025

    Nothing published for this version

  16. 1.3.1 10 Feb 2025 withdrawn

    Nothing published for this version

  17. 1.3.0 23 Aug 2023

    Nothing published for this version

  18. 1.2.0 24 Feb 2023

    Nothing published for this version

  19. 1.1.0 30 Jul 2021

    Nothing published for this version

  20. 1.0.2 30 Jul 2021 withdrawn

    Nothing published for this version

  21. 1.0.1 22 May 2020

    Nothing published for this version

  22. 1.0.0 28 Jun 2018

    Nothing published for this version

  23. 0.2.4 08 May 2018

    Nothing published for this version

  24. 0.2.3 06 May 2018

    Nothing published for this version

  25. 0.2.2 06 May 2018

    Nothing published for this version

  26. 0.2.1 06 May 2018

    Nothing published for this version

  27. 0.2.0 24 Mar 2018

    Nothing published for this version

  28. 0.1.3 13 Nov 2016

    Nothing published for this version

  29. 0.1.2 13 Nov 2016

    Nothing published for this version

  30. 0.1.1 20 Sep 2015

    Nothing published for this version

  31. 0.1.0 20 Sep 2015

    Nothing published for this version

  32. 0.0.1 19 Apr 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive