Skip to content

fix: use Git CLI for Cargo dependencies - #26

Merged
danielkov merged 2 commits into
mainfrom
fix/cargo-git-fetch-cli
Aug 26, 2026
Merged

fix: use Git CLI for Cargo dependencies#26
danielkov merged 2 commits into
mainfrom
fix/cargo-git-fetch-cli

Conversation

@danielkov

Copy link
Copy Markdown
Contributor

Summary

Configure Cargo to fetch Git dependencies through the system Git CLI instead of its embedded Git transport.

Motivation

Some contributors rewrite GitHub HTTPS URLs to SSH and rely on SSH configuration that Cargo's embedded transport cannot use. Delegating Git fetches to the system client lets Cargo use their existing SSH configuration and credential helpers, preventing authenticated Git dependencies from blocking cargo build --locked.

Impact

This affects dependency fetching during builds only. Runtime behavior is unchanged.

@danielkov
danielkov enabled auto-merge (squash) August 26, 2026 15:14
@danielkov
danielkov merged commit 16be90d into main Aug 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant