cargo-tomlfmt
cargo-tomlfmt copied to clipboard
Cargo workspace member list formatted on a single line
If you run cargo tomlfmt
on a Cargo.toml
file which configures a workspace, the list of members of the workspace is formatted to be on a single line. E.g.
[workspace]
members = [ "crate1", "crate2" ]
It would be preferable to keep each member on separate lines, either by default or via configuration. E.g.
[workspace]
members = [
"crate1",
"crate2"
]
Cool! I dont know I could fix it quickly but will take a look at.