I found out about the possibility to directly include a git repository as dependency in cargo.
So I tried this for a private repo on my personal Gitlab instance via https, but it seems to have trouble authenticating:
error: failed to load source for a dependency on `pfwr` Caused by: Unable to update https://git.*removed*.*removed*/pfwr.git Caused by: failed to fetch into C:\Users\*removed*\.cargo\git\db\pfwr-3bec381543b163f9 Caused by: failed to authenticate when downloading repository attempted to find username/password via git's `credential.helper` support, but failed Caused by: an unknown git error occurred
I am using Windows 10 Pro and the Git Windows Credentials Manager, which is also set in my git config as credential-helper.
I can easily clone my repository even from the same command line instance via ‘git clone https://git.removed.removed/pfwr.git’ without entering my credentials, because they are already saved. But somehow cargo doesn’t seem to have access to this.
Does someone know how to solve this problem or is this a bug?
Thank you in advance!