LukeMathWalker / LukeMathWalker/cargo-chef
How to use cargo chef with -Zgit=shallow-deps
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.7k
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading Cargo's unstable documentation for -Zgit=shallow-deps and -Zgit=shallow-index, then inspect cargo-chef's documented usage and command entry points. Determine whether the project can use these flags directly or needs explicit guidance; done means the supported usage or limitation is documented for both options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100