#numbers #formatting #human #magnitude #filesize

human-format-next

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

2 unstable releases

new 0.2.1 Feb 12, 2025
0.2.0 Feb 12, 2025
0.1.0 Feb 2, 2025

#115 in Value formatting

Download history 116/week @ 2025-02-02 209/week @ 2025-02-09

325 downloads per month
Used in human-format-next

MIT license

21KB
357 lines

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.

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.

While BobGneu/human-format-rs has no_std support, this crate does not provide such functionality since it depends heavily on std f64 methods.


lib.rs:

Human-format-next

No runtime deps