Registry / utility / human-repr

human-repr

JSON →
library1.1.0rscratesunverified

Generate beautiful human representations of bytes, durations, and throughputs.

# Cargo.toml [dependencies] human-repr = "1.1.0"
INSTALL
IMPORT
SIG · HUMAN-REPR
H
human-repr
utilityrustv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HumanRepr
use human_repr::HumanRepr;

Format a byte count as a human-readable string.

use human_repr::HumanRepr; fn main() { let bytes = 1_500_000u64; println!("{}", bytes.human_repr()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
human-repr — cargo add human-repr · libregistry