Skip to content

What if Cargo.toml is not at the repo root? #28

@rodya-mirov

Description

@rodya-mirov

In my situation, the repo looks like:

./my-rust-project
./my-rust-project/Cargo.toml
./my-rust-project/src
./other-stuff
./more

I want to use cargo-husky for this, but the pre-built hooks don't work (they need to cd to the Cargo root, which they don't do) and user-scripts are kind of janky (hard to update). This seems like a reasonable use case for cargo-husky, and I wonder if I'm holding it wrong / this would be a feature extension.

If this is unsupported, but seems like a simple extension you would support, I'm also happy to try and take care of it myself with some help.

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