Registry / utility / humanize-rs

humanize-rs

JSON →
library0.1.5rscratesunverified

Parse human-readable strings (e.g., "1.5k", "2 hours") into numeric or duration types.

# Cargo.toml [dependencies] humanize-rs = "0.1.5"
INSTALL
IMPORT
SIG · HUMANIZE-RS
H
humanize-rs
utilityrustv0.1.5
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.

parse
use humanize_rs::parse;

Parse a human-readable string like '1.5k' into a number.

use humanize_rs::parse; fn main() { let val: Result<u64, _> = parse("1.5k"); println!("{:?}", val); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
humanize-rs — cargo add humanize-rs · libregistry