What's in a Rust binary?

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

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • 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

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • 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