# cargo-strip [![crates.io badge](https://img.shields.io/crates/v/cargo-strip.svg)](https://crates.io/crates/cargo-strip) ![CI](https://github.com/guedou/cargo-strip/workflows/CI/badge.svg) [![Twitter Follow](https://img.shields.io/twitter/follow/guedou.svg?style=social)](https://twitter.com/intent/follow?screen_name=guedou) A cargo subcommand that reduces the size of Rust binaries using the `strip` command. ## Installation & Usage Run the following command: ``` cargo install --force cargo-strip ``` Simply strip your binary with: ``` cargo strip ``` When cross-compiling, the `--target` could be used to strip the binary, such as: ``` cargo strip --target armv7-unknown-linux-gnueabihf ```