johnthagen/min-sized-rust resource
🦀 How to minimize Rust binary size 📦 https://github.com/johnthagen/min-sized-rust observed · 2026-08-28
Health v2 · maintenance only
52/100
- Activity 45
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2824
- days_rel: n/a
- days_push: 334
- n_releases_24m: 0
Adoption not part of the score
9843 stars · 247 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A tutorial repository demonstrating techniques to minimize Rust binary size, covering Cargo profiles, symbol stripping, LTO, UPX compression, and no_std/wasm builds. It serves as a reference guide with example configurations rather than a reusable library.
Use cases
- reduce rust binary size
- shrink rust executable for containers
- optimize cargo release profile for size
- strip symbols from rust binary
- compress rust binary with upx
- build minimal rust wasm binary
When to choose
- you want proven, up-to-date Cargo.toml settings for small Rust binaries
- you're targeting embedded, wasm, or container images where binary size matters
- you need a quick reference for strip, LTO, and opt-level options
When to avoid
- you need a library or tool that automates size optimization rather than documentation
- your project prioritizes runtime speed or debuggability over size
- you need guidance for languages other than Rust
Facets
learning-resource · maturity active
build-tool compiler developer-tools developer-tools performance programming-languages rust windows wasm binary-size cargo lto upx no-std optimization tutorial linux macos docker
1 source
- readme: https://github.com/johnthagen/min-sized-rust · fetched 2026-08-28 · d11202ca8238
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| johnthagen/min-sized-rust | main | 52 |
For agents
markdown · JSON · MCP: product_card(name="johnthagen/min-sized-rust")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem