Skip to content

unnecessary rebuild of unrelated packages in monorepo on member version bump #445

@iwinux

Description

@iwinux

Suppose I have crates/foo and crates/bar in a monorepo. Whenever I bump the version of crates/foo, the content of Cargo.lock at the repo root also changes. That inevitably triggers rebuild of crates/bar and all of its deps, even if crates/bar does not depends on crates/foo and none of its files (except for the shared Cargo.lock) change.

Is there any way to avoid this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions