1 unstable release
Uses old Rust 2015
| 0.0.1 | Sep 26, 2025 |
|---|
#31 in #vex-v5
Used in 2 crates
(via vexide-startup)
11KB
50 lines
vex-sdk-vexcode
A build script helper to download and link to official VEXcode SDKs.
This package provides a simple helper function for downloading and linking to proprietary VEXcode runtime SDKs distributed by VEX from Rust build.rs scripts.
[!NOTE] SDKs distributed by VEX are proprietary software with limitations regarding ownership and distribution. Please familiarize yourself with these terms in VEX's software EULA and the
license.pdffile included in VEX's' SDK.
[!WARNING] This is fully unofficial and in no way affiliated, endorsed, supported, or created by VEX Robotics.
Usage
This package should be added to your project's build-dependencies.
[build-dependencies]
vex-sdk-vexcode = "0.0.1"
In order to download and link a certain SDK, simply call vex_sdk_vexcode::link_sdk with your desired SDK version from a build.rs script in your project.
// build.rs
fn main() {
vex_sdk_vexcode::link_sdk("V5_20240802_15_00_00");
}
This will download the V5_20240802_15_00_00 runtime SDK from VEX's CDN and link your project to libv5rt.a. From there, you can use vex-sdk to call SDK functions over FFI from your Rust project!
Dependencies
~17–30MB
~495K SLoC