Registry / utility / parse-size

parse-size

JSON →
library1.1.0rscratesunverified

Parse byte size strings into integers accurately.

# Cargo.toml [dependencies] parse-size = "1.1.0"
INSTALL
IMPORT
SIG · PARSE-SIZE
P
parse-size
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.

parse_size
use parse_size::parse_size;

Parse a human-readable size string.

use parse_size::parse_size; fn main() { let bytes = parse_size("1GB").unwrap(); println!("Bytes: {}", bytes); }
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
4 hits · last 30 days
node
4
Resources
parse-size — cargo add parse-size · libregistry