awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
RazrFalcon avatar

RazrFalcon/cargo-bloat

0
View on GitHub↗
2,718 stars·57 forks·Rust·mit·9 views

Cargo Bloat

cargo-bloat is a binary size analyzer and compilation analysis tool for Rust. It identifies the largest functions and dependencies within compiled executables to locate space-consuming code and reduce the overall binary footprint.

The tool functions as a build profile inspector and symbol size profiler, allowing users to analyze how different compiler options and build profiles affect the final binary size. It can export symbol data into human-readable tables or JSON format to monitor the footprint of specific crates.

Capabilities include multi-target analysis across different platforms and formats, as well as the use of regular expressions to filter symbols and isolate specific code paths. The tool integrates with the Rust toolchain to execute builds and evaluate the resulting binary sections.

Features

  • Binary Bloat Analysis - Identifies functions and dependencies consuming the most space in compiled Rust executables.
  • Build Profiles - Compares how different compiler options and build profiles affect the final Rust binary size.
  • Cargo Profile Configurations - Analyzes how various Cargo profiles and compiler flags affect the total binary size.
  • Rust Compilation Configurations - Analyzes Rust compilation outputs to locate space-consuming code and bloat.
  • Executable Format Mappings - Provides a unified internal representation for different executable formats like ELF and Mach-O.
  • Binary Size Optimizations - Identifies large functions and dependencies in Rust executables to reduce the final disk footprint.
  • Binary Bloat Analyzers - Identifies the largest functions and dependencies in compiled Rust binaries to reduce executable size.
  • Executable Size Analysis - Examines compiled Rust binaries to identify which components consume the most disk space.
  • Symbol Size Profilers - Exports binary symbol data into tables or JSON to monitor the footprint of Rust crates.
  • Symbol-To-Address Mapping - Maps memory addresses to function names and calculates their exact size within the compiled binary.
  • Build Toolchains - Integrates with the Rust toolchain to invoke the compiler with specific profiles before analyzing output.
  • Symbol Filtering - Filters binary functions using regular expressions to isolate specific code paths for size analysis.
  • Cross-Format Binary Analysis - Analyzes binaries across different platforms and formats using a consistent analysis interface.
  • Debug Symbol Parsers - Implements parsing of DWARF debug symbols to map binary bloat to source code locations.
  • Embedded Systems Development - Helps reduce the memory footprint of Rust programs for resource-constrained embedded hardware.
  • Analysis Result Filtering - Isolates specific symbols or components using regular expressions to determine a subset's data size.
  • Development Tools - Analyzes binary size to identify space-consuming code.

Star history

Star history chart for razrfalcon/cargo-bloatStar history chart for razrfalcon/cargo-bloat

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Cargo Bloat

Similar open-source projects, ranked by how many features they share with Cargo Bloat.
  • johnthagen/min-sized-rustjohnthagen avatar

    johnthagen/min-sized-rust

    9,782View on GitHub↗

    This project is a collection of techniques and configurations for reducing the disk footprint of compiled Rust executables. It serves as a guide and toolset for binary size optimization, providing strategies to minimize the final executable size through compiler flags and configuration. The project focuses on aggressive size reduction strategies, including recompiling the standard library from source to prune unused functions and implementing no-standard-library modes for memory-constrained environments. It details how to eliminate runtime overhead by removing standard library entry points an

    Rustbinary-sizecargocontainers
    View on GitHub↗9,782
  • tencent/matrixTencent avatar

    Tencent/matrix

    12,020View on GitHub↗

    Matrix is a suite of mobile application performance management and analysis tools. It provides a plugin-based monitoring system for capturing crashes, lags, and memory leaks, alongside a static binary auditor for reducing installation package size and a bytecode instrumentation tool for performance tracking. The project distinguishes itself through native memory debugging and a SQLite query linter that identifies inefficient database patterns. It employs native interception techniques to detect memory leaks and heap corruption without requiring source code recompilation, and uses a custom run

    Javaandroidapm-clientwechat
    View on GitHub↗12,020
  • federico-busato/modern-cpp-programmingfederico-busato avatar

    federico-busato/Modern-CPP-Programming

    15,808View on GitHub↗

    This project is a comprehensive educational resource and programming course covering C++ language semantics and features from C++03 through C++26. It provides structured tutorials and technical guides focused on modern C++ development. The material offers specialized instruction on template metaprogramming, including the use of type traits and compile-time computations. It features detailed guides on concurrency and parallelism for multi-core execution, as well as a reference for software design applying SOLID principles and RAII. Additionally, it covers build performance optimization to redu

    HTMLc-plus-pluscode-qualitycompilers
    View on GitHub↗15,808
  • platformio/platformio-coreplatformio avatar

    platformio/platformio-core

    9,299View on GitHub↗

    PlatformIO Core is a toolset for embedded software development that manages the compilation, flashing, and debugging of firmware for various microcontroller targets. It provides a cross-platform build system that automates the process of transforming source code into binaries and transferring them to hardware via serial protocols. The system uses a plugin-based architecture to extend hardware platform support and incorporates a manifest-driven approach to resolve and install the specific toolchains, frameworks, and libraries required for different board definitions. Capabilities cover the fu

    Python
    View on GitHub↗9,299
See all 30 alternatives to Cargo Bloat→

Frequently asked questions

What does razrfalcon/cargo-bloat do?

cargo-bloat is a binary size analyzer and compilation analysis tool for Rust. It identifies the largest functions and dependencies within compiled executables to locate space-consuming code and reduce the overall binary footprint.

What are the main features of razrfalcon/cargo-bloat?

The main features of razrfalcon/cargo-bloat are: Binary Bloat Analysis, Build Profiles, Cargo Profile Configurations, Rust Compilation Configurations, Executable Format Mappings, Binary Size Optimizations, Binary Bloat Analyzers, Executable Size Analysis.

What are some open-source alternatives to razrfalcon/cargo-bloat?

Open-source alternatives to razrfalcon/cargo-bloat include: johnthagen/min-sized-rust — This project is a collection of techniques and configurations for reducing the disk footprint of compiled Rust… tencent/matrix — Matrix is a suite of mobile application performance management and analysis tools. It provides a plugin-based… federico-busato/modern-cpp-programming — This project is a comprehensive educational resource and programming course covering C++ language semantics and… platformio/platformio-core — PlatformIO Core is a toolset for embedded software development that manages the compilation, flashing, and debugging… dspinellis/unix-history-repo — This project is a version-controlled Git archive and software archaeology dataset containing the continuous evolution… google/bloaty — Bloaty is a binary size profiler and executable format analyzer that attributes every byte of a binary to specific…