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

How to use cargo chef with -Zgit=shallow-deps #280

Open
Hugo-Trentesaux opened this issue Oct 2, 2024 · 0 comments
Open

How to use cargo chef with -Zgit=shallow-deps #280

Hugo-Trentesaux opened this issue Oct 2, 2024 · 0 comments

Comments

@Hugo-Trentesaux
Copy link

When using git repos as dependencies, it is convenient to shallow clone them to avoid loading useless data. (see https://doc.rust-lang.org/cargo/reference/unstable.html#git). How to use it in combination with cargo chef?

Same for index -Zgit=shallow-index, allows to shallow clone the package index.

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

No branches or pull requests

1 participant