humansize icon indicating copy to clipboard operation
humansize copied to clipboard

Humansize - A flexible crate for humanizing file sizes

Results 24 humansize issues
Sort by recently updated
recently updated
newest added

It'd be nice to have support for using `core`+`alloc` only, rather than full-blown `std`. Although if possible, it'd honestly be nicer to not require `alloc` (for `String`s) and instead return...

Add more defaults to match the file size formats used by Windows, *NIX, MAC OS, etc. This way a program can easily display sizes in the same manner as the...

enhancement
help wanted

When updating genact in nixpkgs (https://github.com/NixOS/nixpkgs/pull/191077), I ran into a hash mismatch for the cargo vendor because the `feature-tests` directory is absent on macos for some reason. I still don't...

How do you feel about this library being used to format things other than bytes? In my case I'd like just to get unitless sizes, (like cycles) or even supply...

Sometimes I find it useful to print values with a minimum number of significant digits, instead of locking the number of decimals used. For example, when printing a system memory...

It would be nice to be able to convert from a string to a number, and have Clap support. Specifically, to allow for having a command line argument like "2...

The `create_format` function has been renamed to `make_format` but `create_format` still referenced in docs. Renamed function name in readme and comments.

Not sure how this ended up in there (too much vim?) and not 100% confident my fix is correct, I'm doing this as a drive-by from the GitHub web UI,...