Is there any crates for printing data size in human-readable form?

52 points puttak

The output I want from the following code is Size: 1 kB:

println!("Size: {}", 1024);

Is there any crates that handle this automatically?

Thanks!