- Use IEC (binary) format by default with
Display
. - Use "kB" for SI unit.
- 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
B
constant.