Sourced from bytesize's releases.
bytesize: v2.4.2
- Improve accuracy of parsing large non-decimal byte count strings.
bytesize: v2.4.1
- Fix rounding error near power-of-unit boundaries.
bytesize: v2.4.0
- Implement
SumforByteSize.- Minimum supported Rust version (MSRV) is now 1.85.
bytesize: v2.3.1
- Fix unit truncation in error strings.
bytesize: v2.3.0
- Add
Unitenum.- Add
UnitParseErrortype.bytesize: v2.2.0
- Add
ByteSize::as_*()methods to return equivalent sizes in KB, GiB, etc.bytesize: v2.1.0
- Support parsing and formatting exabytes (EB) & exbibytes (EiB).
- Migrate
serdedependency toserde_core.bytesize: v2.0.1
- Add support for precision in
Displayimplementations.bytesize: v2.0.0
- 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.
Sourced from bytesize's changelog.
2.4.2
- Improve accuracy of parsing large non-decimal byte count strings.
2.4.1
- Fix rounding error near power-of-unit boundaries.
2.4.0
- Implement
SumforByteSize.- Minimum supported Rust version (MSRV) is now 1.85.
2.3.1
- Fix unit truncation in error strings.
2.3.0
- Add
Unitenum.- Add
UnitParseErrortype.2.2.0
- Add
ByteSize::as_*()methods to return equivalent sizes in KB, GiB, etc.2.1.0
- Support parsing and formatting exabytes (EB) & exbibytes (EiB).
- Migrate
serdedependency toserde_core.2.0.1
- Add support for precision in
Displayimplementations.v2.0.0
- 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.
2f8d196
chore: release v2.4.2 (#177)13f4aee
Avoid f64 precision loss when parsing integer byte counts (#171)37cf3fc
chore: release v2.4.1 (#176)c84e293
chore(deps): bump actions-rust-lang/setup-rust-toolchain from 1.16.1 to
1.17....fdba7f0
chore(deps): bump taiki-e/install-action from 2.81.10 to 2.82.7 (#173)1bad401
chore(deps): bump actions/checkout from 6.0.3 to 7.0.0 (#174)520a557
fix: ideal_unit_std picks the wrong unit near power-of-unit boundaries
(#175)a50ff2f
chore(deps): bump taiki-e/install-action from 2.75.27 to 2.81.10 (#163)ce689d7
chore(deps): bump codecov/codecov-action from 6.0.0 to 7.0.0 (#164)284b09d
chore(deps): bump serde_json from 1.0.149 to 1.0.150 (#165)