mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00

### What does this PR try to resolve? Just found we can simplify `human_readable_bytes` a bit. This also remove the `bytesize` dependency, since we already have a hand-rolled function. (It is a good crate, though) ### How should we test and review this PR? Should have no real functional difference. `cargo package` starts reporting IEC (KiB) instead of SI (KB). So do some thresholds of `cargo package`. Could also switch entirely to `bytesize` if that is preferred. ### Additional information