From 372d4cb57e2f64f1dc1423e975fb3963905baabb Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Thu, 17 Sep 2026 19:36:44 -0400 Subject: [PATCH] Fetch git dependencies with the git CLI Petri is a private repository, so Cargo's fetch of its pinned revision needs the user's git credentials. The git CLI reads them; libgit2 does not. Co-Authored-By: Claude Fable 5.1 --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index dc7058400..e267a7636 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -7,3 +7,6 @@ t = "test -- --format terse" # pays ~900ms of system-proxy lookup overhead per process, which pushes tests # past the 3s nextest kill threshold under parallel load. FABRO_HTTP_PROXY_POLICY = "disabled" + +[net] +git-fetch-with-cli = true