-
Notifications
You must be signed in to change notification settings - Fork 1k
Could rustfmt format Cargo.toml ? #4091
Copy link
Copy link
Open
Labels
C-feature-requestCategory: a feature request (not decided/implemented)Category: a feature request (not decided/implemented)S-blockedStatus: blocked on rustc, an RFC, impl work, etc.; please also add a block reason labelStatus: blocked on rustc, an RFC, impl work, etc.; please also add a block reason label
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: a feature request (not decided/implemented)Category: a feature request (not decided/implemented)S-blockedStatus: blocked on rustc, an RFC, impl work, etc.; please also add a block reason labelStatus: blocked on rustc, an RFC, impl work, etc.; please also add a block reason label
Type
Fields
Give feedbackNo fields configured for issues without a type.
I actually use a very very small tool toml-fmt, I currently use it like:
toml-fmt < Cargo.toml > Cargo.toml.new && mv Cargo.toml.new Cargo.tomlThat not very practical and I must remember to use it. Could rustfmt handle it too ? I think
Cargo.tomlis also a part of rust file so maybe it's ok to add it.