Remote Cargo Repositories

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

Prerequisite

Prior to setting a remote repository, you will need to configure a Custom Base URL for the Artifactory instance that is required to support. For more information, see General Settings.General Settings

You can create remote Cargo repositories to proxy and cache remote repositories or other Artifactory instances.

The Registry URL has been added to Cargo remote repositories, to reflect the index (git) location:

  • For external repositories, the registry URL should be the same as the repository URL. For example: https://github.com/rust-lang/crates.io-index.

  • For Smart remote repositories, the URL should be the same as the repository URL, for example: https://RTURL/artifactory/$repo, while the registry URL should point to the index path, for example: https://RTURL/artifactory/api/cargo/cargoh/index/.

Cargo_sparse_smart.png