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/2295>
This commit is contained in:
Tim-Philipp Müller 2025-06-14 23:51:17 +01:00
parent 083496d3bf
commit c580400d5c

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