format-bytes 0.4.0

A macro to format bytestrings
Documentation
1
2
3
4
5
use format_bytes::format_bytes;

fn main() {
    format_bytes!("{a}", a = 1, a = 2);
}