Resolve Cargo Packages Using the Rust Command Line

JFrog Artifactory Documentation

JFrog Artifactory
Content Type
User Guide
  1. In the Application module, navigate to Artifactory | Artifacts.

  2. In the Artifact Tree Browser, select a Cargo repository and click Set Me Up.

  3. Install a package using the Cargo build or install commands.

    Cargo install

    cargo install crate

    Resolving Multiple Cargo Registries

    To resolve multiple registries, add this optional flag --registry (registryId).

Authentication: Allow Anonymous Downloads

The Cargo client does not send any authentication header when running install and search commands.

Select "Allow anonymous download and search" to block anonymous requests but still allow anonymous Cargo client downloads and performing search, to grant anonymous access specifically to those endpoints for the specific repository.