3 ms·
I made humanize-bytes[1] for that formatting reason (1000 vs 1024). Coincidentally, it uses smartstring to avoid allocations. [1] https://crates.io/crates/huma
by jtrueb 2y ago
I made humanize-bytes[1] for that formatting reason (1000 vs 1024). Coincidentally, it uses smartstring to avoid allocations.
[1] https://crates.io/crates/humanize-bytes https://crates.io/crates/humanize-bytes