cargo-chef
cargo-chef copied to clipboard
How to use cargo chef with -Zgit=shallow-deps
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.