cargo-bloat
« Back to VersTracker
Description:
Find out what takes most of the space in your executable
Type: Formula  |  Latest Version: 0.12.1@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: rust profiling optimization binary-analysis developer-tools
Install: brew install cargo-bloat
About:
cargo-bloat is a Rust command-line tool that analyzes compiled binaries to determine the size contribution of each dependency and function. It helps developers identify which parts of their code and third-party crates are consuming the most space. This enables targeted optimization to reduce executable size for performance-critical or resource-constrained applications.
Key Features:
  • Analyzes Rust crates and functions for size contribution
  • Works with both release and debug builds
  • Provides detailed breakdowns of dependency sizes
  • Supports checking specific Rust functions for bloat
Use Cases:
  • Reducing binary size for embedded systems or WASM applications
  • Identifying heavy dependencies in Rust projects
  • Optimizing deployment artifacts for faster downloads
Alternatives:
  • cargo-bloat – cargo-bloat is Rust-specific and analyzes crate-level bloat, while bloaty is language-agnostic and focuses on ELF/Mach-O sections and symbols
  • bloaty – bloaty is language-agnostic and focuses on ELF/Mach-O sections and symbols, while cargo-bloat is Rust-specific and analyzes crate-level bloat
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, sonoma, ventura, monterey, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 12, 2025 5:47pm 0 VERSION_BUMP a2684e1c