Crates.io | rustup-mirror |
lib.rs | rustup-mirror |
version | 0.8.1 |
source | src |
created_at | 2019-02-12 18:49:01.740118 |
updated_at | 2024-03-12 05:10:15.418628 |
description | Setup a local rustup mirror. |
homepage | |
repository | https://github.com/jiegec/rustup-mirror |
max_upload_size | |
id | 114350 |
size | 73,955 |
Setup a local rustup mirror. For usage, please run rustup-mirror -h
.
Run cargo install rustup-mirror
.
$ rustup-mirror # use HTTPS_PROXY for proxy
$ # wait for downloading
$ cd ./mirror # default directory, see rustup-mirror -h
$ python3 -m http.server &
$ RUSTUP_DIST_SERVER=http://127.0.0.1:8000 rustup install stable
Note: