You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@AJIOB thanks for the report.
PRs are welcome, feel free to open one and I'll be happy to review.
Via a quick search I've found out rust-lang/cargo#7856, please make sure that the behaviour is as you expect.
About a possible guidance, I would add an optional parameter (defaulted to Cargo.toml) in the pretty-format-rust such the change will not be a breaking one, while allowing extension to provide customers to customise the manifest file
cargo fmt
has support to--manifest-path
argument, that can be used for passingConfig.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.The text was updated successfully, but these errors were encountered: