cargo-warp

Crates.iocargo-warp
lib.rscargo-warp
version0.1.9
sourcesrc
created_at2024-06-24 20:33:48.74674
updated_at2024-10-11 18:03:47.065642
descriptionBuild then copy your project binary to a remote host.
homepagehttps://github.com/MattCairns
repositoryhttps://github.com/MattCairns
max_upload_size
id1282548
size21,975
Matthew Cairns (MattCairns)

documentation

README

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 
Commit count: 0

cargo fmt