GitHub - dtolnay/fast-rustup

1 min read Original article ↗

Experiment with a different architecture for Rustup that can perform downloads and installation concurrently.

This is in contrast with Rustup, which downloads one component at a time and then unpacks one component at a time. See rustup#731.

$ rustup toolchain remove nightly-2024-01-01
$ time rustup toolchain install nightly-2024-01-01
17.9 seconds
$ git clone https://github.com/dtolnay/fast-rustup
$ cd fast-rustup
$ cargo build --release
$ rustup toolchain remove nightly-2024-01-01
$ time target/release/fast-rustup nightly-2024-01-01
5.4 seconds