Estimated Reading Time: 1 min
Rust is not installed on the build VMs by default, but it can be easily added with a script.
To install the latest Rust version add this command to your Setup Commands and the script will automatically be called at build time.
Rust is installed via rustup so after install
rustup are all available in the environment.
After installing Rust, fetching dependencies via Cargo should work as normal in your setup commands.
We do not cache Rust dependencies between builds.
As mentioned above, as Rust is not preinstalled you will need to manually install Rust and necessary dependencies yourself in your setup commands.
Frameworks such as Iron and testing via the standard Rust test attribute or via testing tools like Stainless are supported, but must be manually configured.
Rust tests can be parallelized via our ParallelCI feature by manually specifying different test specs per pipeline.