Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration for git index #54

Merged
merged 3 commits into from
Jun 13, 2023
Merged

Add configuration for git index #54

merged 3 commits into from
Jun 13, 2023

Conversation

Jake-Shadle
Copy link
Member

The crates.io git index is incredibly expensive to fetch if it not present or old, and, as of 1.70.0, is not even needed, but this crate's usage caused a full crates.io git index sync if the prefer-index feature was enabled, regardless of whether the sparse index was used, causing really bad interaction in clean CI environments.

Rather than detecting cargo version/env in this crate, we defer to the calling crate, and instead just default to false.

@Jake-Shadle Jake-Shadle merged commit 98d4388 into main Jun 13, 2023
6 checks passed
@Jake-Shadle Jake-Shadle deleted the fix-index branch June 13, 2023 13:46
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.

None yet

1 participant