What's in a Rust binary?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • min-sized-rust

    🦀 How to minimize Rust binary size 📦

  • johnthagen/min-sized-rust is an up-to-date set of tips for how to reduce the size of your Rust binaries.

  • amdgpud

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cargo-bloat

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

  • coreutils

    Cross-platform Rust rewrite of the GNU coreutils

  • I'm a uutils/coreutils contributor (just a few small contributions!) and I tried out a few of the suggestions proposed by the rest of this thread (cargo bloat, cargo tree), and was able to reduce my release binary size by half (to about 1.4M) before stripping the binary (to about 1M). See: https://github.com/uutils/coreutils/pull/2781

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts