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

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
johnthagen avatar

johnthagen/min-sized-rust

0
View on GitHub↗
9,782 Stars·247 Forks·Rust·MIT·11 Aufrufe

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.

Star-Verlauf

Star-Verlauf für johnthagen/min-sized-rustStar-Verlauf für johnthagen/min-sized-rust

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Min Sized Rust

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Min Sized Rust.
  • razrfalcon/cargo-bloatAvatar von RazrFalcon

    RazrFalcon/cargo-bloat

    2,718Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗2,718
  • rust-lang/cargoAvatar von rust-lang

    rust-lang/cargo

    14,624Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗14,624
  • tencent/matrixAvatar von Tencent

    Tencent/matrix

    12,020Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗12,020
  • obfuscar/obfuscarAvatar von obfuscar

    obfuscar/obfuscar

    3,007Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗3,007
Alle 30 Alternativen zu Min Sized Rust anzeigen→

Häufig gestellte Fragen

Was macht 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.

Was sind die Hauptfunktionen von johnthagen/min-sized-rust?

Die Hauptfunktionen von johnthagen/min-sized-rust sind: Binary Size Reduction, Binary Footprint Optimizers, Standard Libraries, Standard Library Optimizations, Debug Symbol Configurators, Symbol Stripping, Debug Symbol Stripping, Binary Bloat Analysis.

Welche Open-Source-Alternativen gibt es zu johnthagen/min-sized-rust?

Open-Source-Alternativen zu johnthagen/min-sized-rust sind unter anderem: 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…