Registry / utility / size
library0.5.0rscratesunverified

A crate for expressing, formatting, and interacting with file sizes.

# Cargo.toml [dependencies] size = "0.5.0"
INSTALL
IMPORT
SIG · SIZE
S
size
utilityrustv0.5.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.

Size
use size::Size;

Creates a Size from bytes and formats it as a human-readable string.

use size::Size; let size = Size::from_bytes(1_500_000); println!("{}", size.format().unwrap());
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
size — cargo add size · libregistry