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 2026Releases
latest 32-
2.7.002 Aug 2026Release notes
Open source →- Remove no-alloc support because it removed
ByteSize::display()when default features were disabled.
Release notes
Open source →- Remove no-alloc support because it removed
ByteSize::display()when default features were disabled.
- Remove no-alloc support because it removed
-
2.6.031 Jul 2026 withdrawn -
2.5.031 Jul 2026 withdrawnRelease notes
Open source →- Honor precision when a width is set with formatting args.
- Add
#[no_alloc]support.
(yanked)
Release notes
Open source →- Honor precision when a width is set with formatting args.
- Add
#[no_alloc]support.
-
2.4.203 Jul 2026 -
2.4.103 Jul 2026 -
2.4.013 Jun 2026Release notes
Open source →- Implement
SumforByteSize. - Minimum supported Rust version (MSRV) is now 1.85.
Release notes
Open source →- Implement
SumforByteSize. - Minimum supported Rust version (MSRV) is now 1.85.
- Implement
-
2.3.126 Nov 2025 -
2.3.020 Nov 2025 -
2.2.010 Nov 2025Release notes
Open source →- Add
ByteSize::as_*()methods to return equivalent sizes in KB, GiB, etc.
Release notes
Open source →- Add
ByteSize::as_*()methods to return equivalent sizes in KB, GiB, etc.
- Add
-
2.1.015 Sep 2025Release notes
Open source →- Support parsing and formatting exabytes (EB) & exbibytes (EiB).
- Migrate
serdedependency toserde_core.
Release notes
Open source →- Support parsing and formatting exabytes (EB) & exbibytes (EiB).
- Migrate
serdedependency toserde_core.
-
2.0.128 Feb 2025 -
2.0.024 Feb 2025Release notes
Open source →- Add support for
no_stdtargets. - Use IEC (binary) format by default with
Display. - Use "kB" for SI unit.
- Add
Displaytype for customizing printed format. - Add
ByteSize::display()method. - Implement
Sub<ByteSize>forByteSize. - Implement
Sub<impl Into<u64>>forByteSize. - Implement
SubAssign<ByteSize>forByteSize. - Implement
SubAssign<impl Into<u64>>forByteSize. - Reject parsing non-unit characters after whitespace.
- Remove
ByteSize::to_string_as()method. - Remove top-level
to_string()method. - Remove top-level
Bconstant.
- Add support for
-
2.0.0-beta.123 Feb 2025 pre-releaseNothing published for this version
-
1.3.331 Mar 2025Nothing published for this version
-
1.3.211 Feb 2025Nothing published for this version
-
1.3.110 Feb 2025 withdrawnNothing published for this version
-
1.3.023 Aug 2023Nothing published for this version
-
1.2.024 Feb 2023Nothing published for this version
-
1.1.030 Jul 2021Nothing published for this version
-
1.0.230 Jul 2021 withdrawnNothing published for this version
-
1.0.122 May 2020Nothing published for this version
-
1.0.028 Jun 2018Nothing published for this version
-
0.2.408 May 2018Nothing published for this version
-
0.2.306 May 2018Nothing published for this version
-
0.2.206 May 2018Nothing published for this version
-
0.2.106 May 2018Nothing published for this version
-
0.2.024 Mar 2018Nothing published for this version
-
0.1.313 Nov 2016Nothing published for this version
-
0.1.213 Nov 2016Nothing published for this version
-
0.1.120 Sep 2015Nothing published for this version
-
0.1.020 Sep 2015Nothing published for this version
-
0.0.119 Apr 2015Nothing published for this version