cargo: add config file to force CARGO_NET_GIT_FETCH_WITH_CLI=true

... as workaround for fdo gitlab + fastly issues.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2297>
This commit is contained in:
Tim-Philipp Müller 2025-06-14 23:51:17 +01:00 committed by Backport Bot
parent 4404116cd7
commit 6853c3e09f

6
.cargo/config.toml Normal file
View file

@ -0,0 +1,6 @@
[net]
# Use the `git` executable for git operations. The built-in cargo git
# client seems to often hang with gitlab.freedesktop.org's fastly
# cache configuration.
git-fetch-with-cli = true