language-formatters-pre-commit-hooks icon indicating copy to clipboard operation
language-formatters-pre-commit-hooks copied to clipboard

Rust: add support to non-root folder Config.toml

Open AJIOB opened this issue 5 months ago • 1 comments

cargo fmt has support to --manifest-path argument, that can be used for passing Config.toml location.

It can be used in this way: cargo fmt --manifest-path my/subdir/Cargo.toml -- --check.

It is useful when your repository contains Cargo.toml in the non-root location.

AJIOB avatar Jan 16 '24 11:01 AJIOB