Skip to content

All rust hooks fail in repositories with multiple workspaces #617

@lmbollen

Description

@lmbollen

My repository contains multiple cargo workspaces, but all current rust hooks (rustfmt , cargo-check and clippy) assume the root to contain a Cargo.toml.

For some hooks you can set manifest-path to point to a Cargo.toml, but this does not solve my problem because I have not one, but multiple workspaces.

Would there be opposition to change manifest-path to manifest-paths (this would ofcourse be an API change....) and allow the user to specify a list of Cargo.toml files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions