Cargo without reliance on git

I am not sure this is the best forum to ask this question so apologies in advance if it isn't.

I have an interest in understanding how the cargo format works and to my knowledge, it looks to be reliant on the git protocol. Amongst other things, this isn't ideal when looking to proxy through other tooling or host private crates. Is there any appetite within the community that is currently looking at alternatives that I could get involved in?

1 Like

git is a versatile protocol. Cargo allows you to use your own repository or even your own private registries. Or you can not use git at all by using path dependencies.

Thanks @chrisd these links are very useful. I somehow missed the 'source replacement' section. I will take a deeper dive into this to see if it will solve my needs.

Many thanks

I think you want to use the Git dumb protocol:

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.