#strip #cargo #binaries #created #binary

app cargo-strip

Strip Rust binaries created with cargo

4 releases

0.2.3 Jun 15, 2020
0.2.2 May 10, 2020
0.2.1 Jan 4, 2020
0.2.0 Dec 29, 2019

#590 in Cargo plugins

Download history 634/week @ 2023-12-05 626/week @ 2023-12-12 619/week @ 2023-12-19 582/week @ 2023-12-26 1013/week @ 2024-01-02 824/week @ 2024-01-09 867/week @ 2024-01-16 742/week @ 2024-01-23 627/week @ 2024-01-30 714/week @ 2024-02-06 990/week @ 2024-02-13 787/week @ 2024-02-20 725/week @ 2024-02-27 630/week @ 2024-03-05 523/week @ 2024-03-12 816/week @ 2024-03-19

2,788 downloads per month
Used in rproxy

MIT license

7.5MB
117 lines

Contains (ELF exe/lib, 16MB) binaries/bootstrap, (ELF exe/lib, 2.5MB) binaries/NetStats, (ELF exe/lib, 2MB) binaries/mips-openwrt-linux-strip

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

Dependencies