The humansize crate allows users to customize the formatting options in multiple ways.
So far, bsize supports only customization between DisplayFormat:Binary and DisplayFormat:Decimal. It'd be better to investigate humansize's option to see which ones are suitable for this crate and thus we may have a Display::options(DisplayOptions) method for it.
Ref - https://docs.rs/humansize/latest/humansize/struct.FormatSizeOptions.html
The
humansizecrate allows users to customize the formatting options in multiple ways.So far,
bsizesupports only customization betweenDisplayFormat:BinaryandDisplayFormat:Decimal. It'd be better to investigatehumansize's option to see which ones are suitable for this crate and thus we may have aDisplay::options(DisplayOptions)method for it.Ref - https://docs.rs/humansize/latest/humansize/struct.FormatSizeOptions.html