# Rust distribution mirrors

**URL:** <https://internals.rust-lang.org/t/rust-distribution-mirrors/4578>\
**Category:** tools and infrastructure\
**Created:** [January 8, 2017, 9:25am UTC](https://internals.rust-lang.org/t/rust-distribution-mirrors/4578 "2017-01-08T09:25:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![brson](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/brson/32/5197_2.png) [@brson](https://internals.rust-lang.org/u/brson)\
**Post date:** [January 11, 2017, 7:13pm UTC](https://internals.rust-lang.org/t/rust-distribution-mirrors/4578/3 "2017-01-11T19:13:51Z")

</div>

It would be good to have this capability. It requires a lot of small pieces to come together. We are slowly working in a direction where this will be more feasible.

Some factors involved:

- It needs to be easy to produce a Rust distribution (the [static.rust-lang.org](http://static.rust-lang.org) / rustup directory format basically) from source, from the build system. This is one focus of current [release infra changes](https://internals.rust-lang.org/t/rust-ci-release-infrastructure-changes/4489). At some point we will expect that a single command in the build system will be suitable for producing toolchains that rustup can install (with different signing keys).

- It needs to be easy to mirror the important parts of [static.rust-lang.org](http://static.rust-lang.org). I talked to somebody on IRC about this yesterday.

- It needs to be easy to mirror not only the [crates.io](http://crates.io) index, which carol has worked on, but also the [crates.io](http://crates.io) S3 bucket. I don’t believe anybody has made progress on that.

- Finally it needs to be possible to redirect the tools to use these alternate sources in a convenient way.

It’s seems totally feasible for me that a single tool could mirror both [static.rust-lang.org](http://static.rust-lang.org) and [crates.io](http://crates.io), and help configure the local environment to use them. The data is not particularly complex. Just a matter of legwork.

---

_[View the full topic](https://internals.rust-lang.org/t/rust-distribution-mirrors/4578)._
