Most interesting for you here is not the source code, but configs in .mainframer
folder.
This is a very common setup for Rust project (Cargo), but of course you might need to tune some ignore configs for your project.
$ bash mainframer.sh cargo build
Or any other Cargo task you want.
Rust installed on remote machine.