Packages / rupm

humanize-tools 0.1.0

Human friendly bytes, durations, ordinals and counts

Install

cargo add humanize-tools --registry rupm

In Ruststudio: Packages, search for humanize-tools, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-22.

Versions

README

# humanize-tools

Human friendly bytes, durations, ordinals and counts

Add it with `rupm add humanize-tools` (or `cargo add humanize-tools --registry rupm`).

```rust
assert_eq!(humanize_tools::bytes(1536), "1.5 KiB");
assert_eq!(humanize_tools::ordinal(22), "22nd");
assert_eq!(humanize_tools::duration_secs(3725), "1h 2m 5s");
```