-
Notifications
You must be signed in to change notification settings - Fork 899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ‘cargo fmt -p PACKAGE1 -p PACKAGE2’ in a workspace with several packages #1244
Comments
And may be |
This feature would be very useful to have as rustfmt is a must-have cargo plugin and not having support for workspaces is a major inconvenience. |
I suspect this would be relatively easy to implement. The If anyone wants to tackle this, I'd more than happy by answering questions or pointing towards parts of the system. |
I am willing to implement this. |
This has been fixed now 🎉 |
It is strange:
Several combinations revealed the only accepting form: P.S. version 0.3.8-nightly (346238f 2018-02-04) |
cargo fmt
should support-p
/--package
, like most othercargo
subcommands, so that one can runcargo fmt -p PACKAGE1 -p PACKAGE2
in a Cargo workspace with several packages.The text was updated successfully, but these errors were encountered: