Skip to content

hide alternate registry support behind feature#126

Merged
syphar merged 1 commit intorust-lang:mainfrom
syphar:no-git2
May 5, 2026
Merged

hide alternate registry support behind feature#126
syphar merged 1 commit intorust-lang:mainfrom
syphar:no-git2

Conversation

@syphar
Copy link
Copy Markdown
Member

@syphar syphar commented May 4, 2026

  • docs.rs doesn't need it
  • it adds a couple dependencies (git2 among others, ~40)

It think this is the "clean" way that makes most sense.

Alternative would be to only remove remote_callbacks (for git auth) via feature, and use migrate to gix. but then again, it's not used in docs.rs

@syphar syphar self-assigned this May 4, 2026
@syphar syphar requested a review from GuillaumeGomez May 4, 2026 06:27
@syphar syphar merged commit 382efbb into rust-lang:main May 5, 2026
7 checks passed
@syphar syphar deleted the no-git2 branch May 5, 2026 02:32
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.

2 participants