#binary #remote #build #cargo #transfer #projects #tool

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

#146 in Cargo plugins

Download history 8/week @ 2024-07-10 4/week @ 2024-09-18 13/week @ 2024-09-25 414/week @ 2024-10-09 37/week @ 2024-10-16

451 downloads per month

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–15MB
~191K SLoC