Created
September 20, 2025 03:05
-
-
Save albertocavalcante/61c03ecedd841705a3f662b3fb55d20b to your computer and use it in GitHub Desktop.
Cargo with JFrog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # cat ~/.cargo/config.toml | |
| # Cargo Registry Configuration - Anonymous Access | |
| # Generated by complete-cargo-setup.sh | |
| # Purpose: Configure Cargo to use JFrog proxy for all crate access | |
| [source.crates-io] | |
| replace-with = "jfrog" | |
| [source.jfrog] | |
| registry = "sparse+https://trialw4lzh7.jfrog.io/artifactory/api/cargo/cargo/index/" | |
| [registries.jfrog-staging] | |
| index = "sparse+https://trialw4lzh7.jfrog.io/artifactory/api/cargo/cargo-staging/index/" | |
| [registries.jfrog-production] | |
| index = "sparse+https://trialw4lzh7.jfrog.io/artifactory/api/cargo/cargo-production/index/" | |
| [net] | |
| retry = 3 | |
| offline = false | |
| [http] | |
| timeout = 30 | |
| cainfo = "/opt/homebrew/etc/ca-certificates/cert.pem" # Adjust path as needed | |
| [build] | |
| jobs = 4 | |
| [term] | |
| verbose = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment