Skip to content

Conversation

@preiter93
Copy link

@preiter93 preiter93 commented Nov 23, 2025

For the prepare command, if a --bin member is specified:

  • Keep only the workspace manifests relevant to the target member
  • Filter the lock file to include only dependencies used by those manifests

See #323

For the `prepare` command, if a `--bin` member is specified:
  - Keep only the workspace manifests relevant to the target member
  - Filter the lock file to include only dependencies used by those manifests
@preiter93
Copy link
Author

preiter93 commented Nov 23, 2025

To test it, one can install it from branch:

cargo install --git https://github.com/preiter93/cargo-chef --branch reduce-workspace

@Kubaryt
Copy link

Kubaryt commented Dec 22, 2025

@LukeMathWalker 👀

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

Successfully merging this pull request may close these issues.

2 participants