LukeMathWalker / LukeMathWalker/cargo-chef
Feature request: `cargo-chef` support for patches
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.7k
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
Howdy! I work in a medium-large workspace that includes [patches](https://doc.rust-lang.org/edition-guide/rust-2018/cargo-and-crates-io/replacing-dependencies-with-patch.html) to a couple of dependencies (can provide a minimal example if that would be helpful). When trying to use `cargo chef cook`, it doesn't seem like the patches are included or applied---I'm seeing compilation errors.
Would it be possible to add [rust-patches](https://doc.rust-lang.org/edition-guide/rust-2018/cargo-and-crates-io/replacing-dependencies-with-patch.html) support to `cargo-chef`?
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 with the cargo chef cook workflow and the Rust Cargo patch documentation linked in the issue. Reproduce the failure with a workspace that uses dependency patches, then verify that cargo chef cook applies those patches and the workspace compiles successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100