In the Application module, navigate to Artifactory | Artifacts.
In the Artifact Tree Browser, select a Cargo repository and click Set Me Up.
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.