#human #numbers #formatting #filesize #magnitude

no-std human-format-next

Formatting numbers for us, while the machines are still at bay

3 unstable releases

0.2.2 Mar 4, 2025
0.2.1 Feb 12, 2025
0.2.0 Feb 12, 2025
0.1.0 Feb 2, 2025

#148 in Value formatting

Download history 116/week @ 2025-02-02 223/week @ 2025-02-09 57/week @ 2025-02-16 3/week @ 2025-02-23 123/week @ 2025-03-02 13/week @ 2025-03-09 3/week @ 2025-03-16 1/week @ 2025-03-23

140 downloads per month
Used in human-format-next

MIT license

23KB
404 lines

Human-format-next


human-format-next

Crates.io Version Documentation GitHub Tag

Formatting numbers for us, while the machines are still at bay.

The primary purpose for this crate is to format numbers in a customizable fashion based around magnitudes.

no_std support is partially added! Though we just print the integer part now.

MSRV

1.75.0

License

MIT License.

Credits

This crate is inspired by BobGneu/human-format-rs, about 20x faster. If you just want a simple and fast solution, this crate is for you.

No runtime deps