cargo-strip

Crates.iocargo-strip
lib.rscargo-strip
version0.2.3
sourcesrc
created_at2019-12-29 21:20:30.750836
updated_at2020-06-15 18:16:12.30038
descriptionStrip Rust binaries created with cargo
homepage
repositoryhttps://github.com/guedou/cargo-strip/
max_upload_size
id193329
size20,603,644
Guillaume Valadon (guedou)

documentation

README

cargo-strip

crates.io badge CI Twitter Follow

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
Commit count: 40

cargo fmt