You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I'm having some difficulties to deploy this tool. I was able to sync and serve my mirror and was able to open the server index page(at localhost:8080). However, once I start a new project and run cargo build, I receive spurious network error and Server prints an error message saying "Not a git repository 'mirror/crates.io-index'"
mirror.toml
base_url = "http://mirror/crates"
crates.io-index config.json
{
"dl": "http://mirror/crates/{prefix}/{crate}/{version}/{crate}-{version}.crate",
"api": "http://mirror/crates"
}
.cargo/config
[source.mirror]
registry="http://localhost:8080/git/crates.io-index"
[source.crates-io]
replace-with="mirror"
The text was updated successfully, but these errors were encountered:
Hi all,
I'm having some difficulties to deploy this tool. I was able to sync and serve my mirror and was able to open the server index page(at localhost:8080). However, once I start a new project and run cargo build, I receive spurious network error and Server prints an error message saying "Not a git repository 'mirror/crates.io-index'"
mirror.toml
base_url = "http://mirror/crates"
crates.io-index config.json
{
"dl": "http://mirror/crates/{prefix}/{crate}/{version}/{crate}-{version}.crate",
"api": "http://mirror/crates"
}
.cargo/config
[source.mirror]
registry="http://localhost:8080/git/crates.io-index"
[source.crates-io]
replace-with="mirror"
The text was updated successfully, but these errors were encountered: