Skip to content

Releases: bytesize-rs/bytesize

bytesize: v2.4.2

Choose a tag to compare

@github-actions github-actions released this 03 Jul 12:07
2f8d196
  • Improve accuracy of parsing large non-decimal byte count strings.

bytesize: v2.4.1

Choose a tag to compare

@github-actions github-actions released this 03 Jul 11:41
37cf3fc
  • Fix rounding error near power-of-unit boundaries.

bytesize: v2.4.0

Choose a tag to compare

@github-actions github-actions released this 13 Jun 18:47
ebf8ed3
  • Implement Sum for ByteSize.
  • Minimum supported Rust version (MSRV) is now 1.85.

bytesize: v2.3.1

Choose a tag to compare

@github-actions github-actions released this 26 Nov 17:42
0121741
  • Fix unit truncation in error strings.

bytesize: v2.3.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 14:17
f626cc8
  • Add Unit enum.
  • Add UnitParseError type.

bytesize: v2.2.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 04:39
7fec802
  • Add ByteSize::as_*() methods to return equivalent sizes in KB, GiB, etc.

bytesize: v2.1.0

Choose a tag to compare

@robjtede robjtede released this 15 Sep 08:39
ac756bb
  • Support parsing and formatting exabytes (EB) & exbibytes (EiB).
  • Migrate serde dependency to serde_core.

bytesize: v1.3.3

Choose a tag to compare

@robjtede robjtede released this 31 Mar 06:28
603a713
  • Add rust-version field to manifest to support MSRV-aware resolvers.

bytesize: v2.0.1

Choose a tag to compare

@robjtede robjtede released this 28 Feb 06:41
d2ac87b
  • Add support for precision in Display implementations.

bytesize: v2.0.0

Choose a tag to compare

@robjtede robjtede released this 31 Mar 06:29
0b8f894
  • 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.