This article is about Codeship Basic.

Using Rust In CI/CD with Codeship Basic

Estimated Reading Time: 1 min

Versions And Setup

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 rustc, cargo and rustup are all available in the environment.


After installing Rust, fetching dependencies via Cargo should work as normal in your setup commands.

Dependency Cache

We do not cache Rust dependencies between builds.

Notes And Known Issues

As mentioned above, as Rust is not preinstalled you will need to manually install Rust and necessary dependencies yourself in your setup commands.

Frameworks And Testing

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.

Need More Help?

Get in touch if you need more help, or post on Stack Overflow using the tag #Codeship.

  • Ask The Helpdesk A Question
  • Code Examples And Sample Projects
    • Was This Article Helpful?