Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: How to specify a GIT BRANCH for the Cargo Index
So I have a local git repo for index replacement
my cargo/config.toml file has this:
[net]
git-fetch-with-cli = true
[source]
[source.mirror]
registry="ssh://git@gitlab.COMPANY.local/pure-testing/duane_cargo_index.git"
[source.crates-io]
replace-with = "mirror"
QUESTION: How can I specify the BRANCH (or TAG) name of the repo to use for the index?
The syntax of cargo/config.toml - does not seem to support a TAG or BRANCH name?
Stated differently: For this REPO I am required to use a branch name, those are the rules I am required to follow.
2 posts - 2 participants
🏷️ Rust_feed