#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

#616 in Cargo plugins

Download history 485/week @ 2023-11-20 507/week @ 2023-11-27 609/week @ 2023-12-04 545/week @ 2023-12-11 726/week @ 2023-12-18 588/week @ 2023-12-25 827/week @ 2024-01-01 976/week @ 2024-01-08 803/week @ 2024-01-15 790/week @ 2024-01-22 615/week @ 2024-01-29 607/week @ 2024-02-05 1112/week @ 2024-02-12 764/week @ 2024-02-19 733/week @ 2024-02-26 633/week @ 2024-03-04

3,305 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