seedwing-io / seedwing-proxy

Policy-enforcing Artifact Proxy
Apache License 2.0
2 stars 3 forks source link

Forward requests from outside crates to download crates-io index #6

Closed lkatalin closed 1 year ago

lkatalin commented 1 year ago

The first step in the outside crates' cargo build process is to retrieve the index from https://github.com/rust-lang/crates.io-index.

lkatalin commented 1 year ago

This actually is not a necessary step, as the retrieved index will be the same whether or not it is proxied. Instead, the proxy's work will begin with editing the retrieved index to point to the proxy as a "registry," so that the proxy can intercept the requests based on policy.