rs-text-humanize 0.1.0
Human friendly bytes, durations, ordinals and counts
Install
cargo add rs-text-humanize --registry rupm
In Ruststudio: Packages, search for rs-text-humanize, Install.
Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-23.
Versions
- 0.1.0 2026-11-23
README
# rs-text-humanize Human friendly bytes, durations, ordinals and counts Add it with `rupm add rs-text-humanize` (or `cargo add rs-text-humanize --registry rupm`). ```rust assert_eq!(rs_text_humanize::bytes(1536), "1.5 KiB"); assert_eq!(rs_text_humanize::ordinal(22), "22nd"); assert_eq!(rs_text_humanize::duration_secs(3725), "1h 2m 5s"); ```