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

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
johnthagen avatar

johnthagen/min-sized-rust

0
View on GitHub↗
9,782 estrellas·247 forks·Rust·MIT·10 vistas

Min Sized Rust

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 and replacing stack unwinding with immediate abort strategies to remove backtrace metadata.

Additional capabilities cover binary bloat analysis to identify size-increasing dependencies, the use of link-time optimization to remove dead code, and post-compilation symbol stripping. The guide also addresses the reduction of storage footprints for applications deployed within container images and the use of external packing tools for binary compression.

Features

  • Binary Size Reduction - Implements various techniques to minimize the final executable size through release profiles and symbol stripping.
  • Binary Footprint Optimizers - Provides a comprehensive set of compiler flags and configurations to prioritize minimal binary footprint over execution speed.
  • Standard Libraries - Provides techniques to strip the standard library or restrict formatting utilities to achieve minimal binary size.
  • Standard Library Optimizations - Provides instructions for recompiling the standard library from source to prune unused functions and reduce binary size.
  • Debug Symbol Configurators - Sets up a pipeline to remove debug metadata and non-essential symbols from the binary after compilation.
  • Symbol Stripping - Details techniques for stripping debug symbols and metadata to reclaim storage space in the final binary.
  • Debug Symbol Stripping - Provides methods to remove non-essential symbol information from compiled binaries to reduce file size.
  • Binary Bloat Analysis - Enables identification of functions, generic instantiations, and dependencies that contribute most to executable size.
  • No-Std Environment Adapters - Guides the creation of lightweight runtimes by removing standard library dependencies for memory-constrained environments.
  • Binary Size Optimizations - Provides comprehensive configurations and flags to reduce the size of compiled Rust executables.
  • Binary Bloat Analyzers - Provides methods for analyzing binary bloat and identifying the specific functions or dependencies that increase executable size.
  • Standard Library Size Optimizations - Offers strategies to compile the base library from source with aggressive size-focused optimizations.
  • Compilation Optimization Guides - Provides instructions for optimizing the standard library and link-time optimization to minimize bloat.
  • No-Standard-Library Modes - Provides a guide for building lightweight runtimes by entirely removing the Rust standard library.
  • Custom Standard Library Builds - Provides instructions for recompiling the standard library from source to prune unused functions and reduce binary size.
  • Link-Time Optimizations - Uses link-time optimization to analyze and remove dead code across compilation units to minimize binary size.
  • Debug Metadata Removal - Details how to strip file locations and formatting functions to reclaim space used by traceback information.
  • Usage Constraints - Instructs how to avoid formatting code or substitute the base library with a minimal environment to decrease size.
  • Panic Handlers - Reduces binary size by replacing stack unwinding with immediate aborts and stripping formatting details.
  • Binary Bloat Analysis - Identifies which dependencies or functions increase final binary size to target specific areas for reduction.
  • Image Slimming - Offers strategies for using specialized base images and slimming tools to reduce the footprint of deployed applications.
  • Container Image Optimizers - Provides guidance on using minification tools and minimal base images to shrink deployment footprints.
  • Executable Compression Tools - Utilizes external packing tools to compress compiled binaries and reduce their total disk footprint.
  • Program Entry Points - Provides techniques to eliminate standard library boot-up sequences and runtime overhead at the program entry point.
  • Embedded Rust - Supports building minimal Rust programs for bare-metal and memory-constrained environments.
  • Panic Strategy Configurations - Implements an abort-on-panic strategy to eliminate the binary bloat caused by stack unwinding and backtrace metadata.
  • System Programming Foundations - Techniques for optimizing binary size in Rust projects.

Historial de estrellas

Gráfico del historial de estrellas de johnthagen/min-sized-rustGráfico del historial de estrellas de johnthagen/min-sized-rust

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Preguntas frecuentes

¿Qué hace johnthagen/min-sized-rust?

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.

¿Cuáles son las características principales de johnthagen/min-sized-rust?

Las características principales de johnthagen/min-sized-rust son: Binary Size Reduction, Binary Footprint Optimizers, Standard Libraries, Standard Library Optimizations, Debug Symbol Configurators, Symbol Stripping, Debug Symbol Stripping, Binary Bloat Analysis.

¿Qué alternativas de código abierto existen para johnthagen/min-sized-rust?

Las alternativas de código abierto para johnthagen/min-sized-rust incluyen: razrfalcon/cargo-bloat — cargo-bloat is a binary size analyzer and compilation analysis tool for Rust. It identifies the largest functions and… rust-lang/cargo — Cargo is the official build system and package manager for the Rust programming language. It provides a unified… tencent/matrix — Matrix is a suite of mobile application performance management and analysis tools. It provides a plugin-based… obfuscar/obfuscar — Obfuscar is a .NET assembly obfuscator and managed code protector designed to prevent reverse engineering of compiled… open62541/open62541 — open62541 is an open-source implementation of the OPC Unified Architecture standard, providing a complete stack for… bflattened/bflat — bflat is a native compiler and ahead-of-time binary generator for C#. It transforms source code into self-contained…

Alternativas open-source a Min Sized Rust

Proyectos open-source similares, clasificados según cuántas características comparten con Min Sized Rust.
  • razrfalcon/cargo-bloatAvatar de RazrFalcon

    RazrFalcon/cargo-bloat

    2,718Ver en GitHub↗

    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

    Rust
    Ver en GitHub↗2,718
  • rust-lang/cargoAvatar de rust-lang

    rust-lang/cargo

    14,624Ver en GitHub↗

    Cargo is the official build system and package manager for the Rust programming language. It provides a unified command-line interface that orchestrates the entire development lifecycle, including compiling source code, managing complex dependency graphs, running tests, and distributing packages through a centralized registry. By utilizing declarative manifest files, it ensures that builds remain reproducible and consistent across different environments. The tool distinguishes itself through its deep integration with the Rust compiler and its sophisticated approach to project management. It f

    Rustcargopackage-managerrust
    Ver en GitHub↗14,624
  • tencent/matrixAvatar de Tencent

    Tencent/matrix

    12,020Ver en 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
    Ver en GitHub↗12,020
  • obfuscar/obfuscarAvatar de obfuscar

    obfuscar/obfuscar

    3,007Ver en GitHub↗

    Obfuscar is a .NET assembly obfuscator and managed code protector designed to prevent reverse engineering of compiled binaries. It functions as a binary metadata compressor and security tool that renames symbols and encodes strings to protect intellectual property. The project distinguishes itself by altering the Common Intermediate Language structure and modifying assembly metadata tables to hide implementation details. It provides string-to-buffer encoding to prevent plain-text analysis of constants and includes a strong-name re-signing mechanism to ensure modified assemblies remain valid a

    C#c-sharpdotnetdotnet-framework
    Ver en GitHub↗3,007
Ver las 30 alternativas a Min Sized Rust→