cargo-chef icon indicating copy to clipboard operation
cargo-chef copied to clipboard

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

Open Hugo-Trentesaux opened this issue 4 months ago • 0 comments

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.

Hugo-Trentesaux avatar Oct 02 '24 09:10 Hugo-Trentesaux