From fa666f6af681e594159acc36a38ea729bea8fe4a Mon Sep 17 00:00:00 2001 From: Yevhenii Reizner Date: Sun, 14 Apr 2024 19:55:33 +0300 Subject: [PATCH] Version bump. --- CHANGELOG.md | 5 ++++- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 22 ---------------------- 4 files changed, 6 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2dae014..e85229d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] + +## [0.12.0] - 2024-04-14 ### Added - The `--config` flag. That matches the `cargo build --config`. Thanks to [@anthonydandrea](https://github.com/anthonydandrea). @@ -227,7 +229,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - When running on an unsupported OS you will get an error and not a random panic. - The table has a dynamic column width now. -[Unreleased]: https://github.com/RazrFalcon/cargo-bloat/compare/v0.11.1...HEAD +[Unreleased]: https://github.com/RazrFalcon/cargo-bloat/compare/v0.12.0...HEAD +[0.12.0]: https://github.com/RazrFalcon/cargo-bloat/compare/v0.11.1...v0.12.0 [0.11.1]: https://github.com/RazrFalcon/cargo-bloat/compare/v0.11.0...v0.11.1 [0.11.0]: https://github.com/RazrFalcon/cargo-bloat/compare/v0.10.1...v0.11.0 [0.10.1]: https://github.com/RazrFalcon/cargo-bloat/compare/v0.10.0...v0.10.1 diff --git a/Cargo.lock b/Cargo.lock index 2e55b7e..bbcd7a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -19,7 +19,7 @@ checksum = "18464ccbb85e5dede30d70cc7676dc9950a0fb7dbf595a43d765be9123c616a2" [[package]] name = "cargo-bloat" -version = "0.11.1" +version = "0.12.0" dependencies = [ "binfarce", "json", diff --git a/Cargo.toml b/Cargo.toml index 503ff22..2d918ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-bloat" -version = "0.11.1" +version = "0.12.0" authors = ["Yevhenii Reizner "] description = "Find out what takes most of the space in your executable." categories = ["development-tools::cargo-plugins"] diff --git a/README.md b/README.md index 5b9e030..12eec41 100644 --- a/README.md +++ b/README.md @@ -91,31 +91,9 @@ File .text Size Crate Name 0.5% 3.6% 13.5KiB filtered data size, the file size is 2.8MiB ``` -Get a list of crates that took longest to compile: - -``` -% cargo bloat --time -j 1 - Time Crate -1.42s pdb -1.37s regex_syntax -1.11s cargo_bloat -0.96s regex -0.58s binfarce -0.54s json -0.45s libc -0.22s uuid -0.20s fallible_iterator -0.19s pico_args -0.18s scroll -0.12s memmap2 -0.09s multimap -0.06s term_size -``` - Flags specific for `cargo-bloat`: ``` --crates Per crate bloatedness - --time Per crate build time. Will run `cargo clean` first --filter Filter functions by crate --split-std Split the 'std' crate to original crates like core, alloc, etc. --no-relative-size Hide 'File' and '.text' columns