Embedding Rustup into Cargo and the Wrapper

Part 2 of the Future of Cargo series.

What are we trying to solve?

TLDR; Less manual steps for building a Rust project and making sure everyone run the same way (same toolchain, same version of cargo, etc..).

  1. git clone XXX && cd XXX
  2. Install rustup form here: https://rustup.rs/
  3. rustup install stable
  4. cargo build
  5. Make sure to update your toolchain

How do we solve it?

The title should give you a hint…

  1. git clone XXX && cd XXX
  2. ./cargow build

How is it Cargo’s problem?

If it can be solved without changing Cargo, why should Cargo care?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store