fmtsize 0.1.1

Human-readable formatting for memory sizes, etc.
Documentation
  • Coverage
  • 100%
    9 out of 9 items documented1 out of 9 items with examples
  • Links
  • Crates.io
  • Dependencies
  • Versions
  • Owners
  • archer884

fmtsize

Format memory sizes.

Usage

Import the trait and call the method.

use fmtsize::FmtSize;

println!("{}", 492_752_310_u64.fmt_size(Conventional)); // 469.93 MB

License

MIT or Apache 2.0. Pick whichever you like.