cargo-zbuild

Crates.iocargo-zbuild
lib.rscargo-zbuild
version1.5.2
sourcesrc
created_at2022-06-28 09:34:52.92803
updated_at2024-04-18 13:59:26.492271
descriptioncargo-zbuild
homepage
repository
max_upload_size
id614728
size6,559,826
Charles Chu (everplus)

documentation

README

cargo-zbuild

Cargo command line tools for cross platform release build in one step.

  • Optimize release profile for size
  • Compile std library for nightly channel
  • If cross-compiling, use the cross
  • Upx use --best and --lzma (MacOS uses a special implementation)

Support Platform

  • Windows
  • MacOS
  • Linux

Install

  • Install From Crates.io: cargo install cargo-zbuild
  • Install From Local: cargo install --path .

Usage

  • Command Line: cargo zbuild [options]

Attention

For MacOS cross-compilation, please refer to the Cross documentation to prepare your own Docker image.

Commit count: 0

cargo fmt