# RazrFalcon/cargo-bloat

Find out what takes most of the space in your executable.

Repository: https://github.com/RazrFalcon/cargo-bloat
Canonical: https://ross.abutalabs.com/products/cargo-bloat
Language: Rust
License: MIT
License Family: permissive
Last push: 2024-05-10T06:22:24+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3160, "days_push": 845, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2762, forks 59 (observed 2026-08-28T04:07:18.528219+00:00)

## What it is
A cargo subcommand that analyzes Rust executables to show which functions and crates take up the most space in the binary. It supports ELF, Mach-O, and PE binaries and offers regex filtering of results.

## Use cases
- find what makes my rust binary large
- list biggest functions in an executable
- see which dependencies contribute most to binary size
- reduce rust executable size
- analyze .text section bloat
- filter binary size report by function name

## When to choose
- you build Rust binaries and want per-function or per-crate size breakdowns
- you want a quick cargo-integrated tool with no extra setup

## When to avoid
- you need WASM binary analysis - use twiggy instead
- you need exact, guaranteed-accurate size numbers (results are approximate)

## Facets
- artifact type: cli-tool
- maturity: stable
- function: developer-tools, build-tool, benchmarking
- domain: developer-tools, performance
- platform: windows, cli, rust
- tags: binary-size, rust, cargo-subcommand, profiling, command-line, linux, macos

## Member repositories
- RazrFalcon/cargo-bloat (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:18.528219+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:18:42.058092+00:00, confidence not recorded.
  - readme: https://github.com/RazrFalcon/cargo-bloat (fetched 2026-08-28T04:07:18.528219+00:00, sha 05e3706b82cc)
  - registry_crates: https://crates.io/api/v1/crates/cargo-bloat (fetched 2026-08-29T09:56:23.567897+00:00, sha 392e03c4f98c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
