7 unstable releases (3 breaking)
Uses old Rust 2015
0.4.0 | Jan 16, 2019 |
---|---|
0.3.1 | Nov 30, 2018 |
0.2.3 | Oct 19, 2018 |
0.2.1 | Aug 28, 2018 |
0.1.0 | May 29, 2018 |
#376 in Cargo plugins
25 downloads per month
21KB
421 lines
Cargo FRC
A cargo subcommand for deploying your rust code.
Installation
In this package, run cargo install
, assuming cargo
's bin is in your PATH
.
Usage
Add a config section like
[package.metadata.frc]
team-number = 114
rio-address = "10.1.14.2"
target-dir = "target"
executable-name = "digital_out"
to your Cargo.toml
.
team-number
- used to deduce the IP of the roborio if an override is not provided. Currently, this will try mDNS, USB, and the conventional static IP.rio-address
- set the one and only IPcargo frc
will try to deploy totarget-dir
- set the relative or absolute path ofcargo
'starget
directory. This is usually just"./target"
, but will vary for cargo workspaces.executable-name
- set the name of the binary to deploy to the RIO. If not specified, thepackage.name
key is used instead.
You can then run cargo frc deploy
in your robot code package.
Roadmap
- MVP to streamline
wpilib
testing and development - Test windows support, decide whether to add it
- Deploy shared libraries
- Automatic debugging support with
gdb
and its server
License
The contents of this repository are distributed under the terms of both the MIT license and the Apache License (Version 2.0). By contributing, you agree to license your contribution under these terms.
See LICENSE-APACHE, LICENSE-MIT, for details.
Dependencies
~7–17MB
~229K SLoC