#binary #remote #build #cargo #transfer #projects #cross-compilation

app cargo-warp

Build then copy your project binary to a remote host

6 releases

0.1.9 Oct 11, 2024
0.1.8 Oct 11, 2024
0.1.6 Jul 5, 2024
0.1.5 Jun 25, 2024

#160 in Cargo plugins

MIT license

9KB
203 lines

cargo-warp

Overview

The tool allows users to build Rust projects and transfer built files to a specified destination using rsync. It supports both standard Cargo builds and cross-compilation using the cross tool.

Usage

Usage: cargo warp [OPTIONS] <DESTINATION>

Arguments:
  <DESTINATION>

Options:
  -c, --cross
  -p, --package <PACKAGE>
  -t, --target <TARGET>
  -h, --help               Print help

Examples

Building and sending the project to a remote PC called mypc using the aarch64-unknown-linux-gnu target:

cargo warp mypc:~/. --cross -t aarch64-unknown-linux-gnu -p foo 

Building and sending the project to a remote PC called mypc:

cargo warp mypc:~/. -p foo 

Dependencies

~7–16MB
~198K SLoC