| Crates.io | cargo-strip |
| lib.rs | cargo-strip |
| version | 0.2.3 |
| created_at | 2019-12-29 21:20:30.750836+00 |
| updated_at | 2020-06-15 18:16:12.30038+00 |
| description | Strip Rust binaries created with cargo |
| homepage | |
| repository | https://github.com/guedou/cargo-strip/ |
| max_upload_size | |
| id | 193329 |
| size | 20,603,644 |
A cargo subcommand that reduces the size of Rust binaries using the strip command.
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